<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: luaKmua</title><link>https://news.ycombinator.com/user?id=luaKmua</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 23 Jul 2026 05:37:43 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=luaKmua" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by luaKmua in "Everyone should know SIMD"]]></title><description><![CDATA[
<p>This is my eternal battle as a perf engineer. Performance starts with architecture and you can only squeeze so much out a hotpath with poor data layout.<p>The nice part is that data-oriented code almost always easily supports threading and SIMD.</p>
]]></description><pubDate>Thu, 23 Jul 2026 01:58:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=49015876</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=49015876</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49015876</guid></item><item><title><![CDATA[New comment by luaKmua in "Jobs and Software Is Fucked"]]></title><description><![CDATA[
<p>I'm not used to seeing informed takes on the games industry on Hacker news, but then I looked up to see your name. Love your stuff, your website was mind opening when I was in college.</p>
]]></description><pubDate>Mon, 22 Jun 2026 21:52:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=48636742</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=48636742</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48636742</guid></item><item><title><![CDATA[New comment by luaKmua in "The gold standard of optimization: A look under the hood of RollerCoaster Tycoon"]]></title><description><![CDATA[
<p>Indeed an urban legend. Sid Meier himself debunked in his memoir, which is a pretty great read.</p>
]]></description><pubDate>Sun, 22 Mar 2026 21:37:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=47482442</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=47482442</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47482442</guid></item><item><title><![CDATA[New comment by luaKmua in "Unity's Mono problem: C# code runs slower than it should"]]></title><description><![CDATA[
<p>Hey there, always appreciate a dialog<p>Per the separation, I think this was far more common both in older unity games, and also professional settings.<p>For games shipping on mono on steam, that statistic isn't surprising to me given the amount of indie games on there and Unity's prevalence in that environment. My post in general can be read in a professional setting (ie, career game devs). The IL injection is a totally reasonable consideration, but does (currently) lock you out of platforms where AoT is a requirement. You can also support mods/DLC via addressables, and there <i>has</i> been improvement of modding tools for il2cpp, however you're correct it's not nearly as easy.<p>Going to completely disagree that Burst and HPC# are unnecessary and messy. This is for a few reasons. The restrictions that HPC# enforce essentially are the same you already have if you want to write performant C# code as you just simply use Unity's allocators for your memory up front and then operate on those. Depending on how you do this, you either can eliminate your per frame allocations, or likely eliminate some of the fragmentation you were referring to. Modern .Net <i>is</i> fast, of course, but it's not burst compiled HPC# fast. There are so many things that the compiler and LLVM can do based on those assumptions. Agreed C# strings are always a pain if you actually need to interpolate things at runtime. We always try to avoid these as much as we can, and intern common ones.<p>The fragmentation you mention on after large operations is (in my experience) indicative of save/load systems, or possibly level init code that do tons of allocations causing that to froth up. That or tons of reflection stuff, which is also usually nono for runtime perf code. The memory profiler <i>used</i> to have a helpful fragmentation view for that, but Unity removed it unfortunately.</p>
]]></description><pubDate>Mon, 29 Dec 2025 03:16:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=46417114</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=46417114</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46417114</guid></item><item><title><![CDATA[New comment by luaKmua in "Unity's Mono problem: C# code runs slower than it should"]]></title><description><![CDATA[
<p>In general when game development comes up here I tend not to engage as professional gamedev is so different than what other people tend to deal with that it's hard to even get on the same page, but seeing as how this one is very directly dealing with my expertise I'll chime in.<p>There are few things off with the this post that essentially sound as someone more green when it comes to Unity development (no problem, we all start somewhere).<p>1. The stated approach of separating the simulation and presentation layers isn't all that uncommon, in fact it was the primary way of achieving performance in the past (though, you usually used C++, not C#).<p>2. Most games don't ship on the mono backend, but instead on il2cpp (it's hard to gauge how feasible that'd be from this post as it lacks details).<p>3. In modern Unity, if you want to achieve performance, you'd be better off taking the approach of utilizing the burst compiler and HPC#, especially with what appears to be happening in the in sample here as the job system will help tremendously.<p>4. Profiling the editor is always a fools errand, it's so much slower than even a debug build for obvious reasons.<p>Long story short, Unity devs are excited for the mentioned update, but it's for accessing modern language features, not particularly for any performance gains. Also, I've seen a lot of mention around GC through this comment section, and professional Unity projects tend to go out of their way to minimize these at runtime, or even sidestep entirely with unmanaged memory and DOTS.</p>
]]></description><pubDate>Mon, 29 Dec 2025 01:20:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=46416330</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=46416330</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46416330</guid></item><item><title><![CDATA[New comment by luaKmua in "What do you think about using a game engine for UI?"]]></title><description><![CDATA[
<p>I'm shocked I had to scroll this far down before I saw accessibility mentioned.</p>
]]></description><pubDate>Mon, 13 Jan 2025 05:00:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=42680231</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=42680231</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42680231</guid></item><item><title><![CDATA[New comment by luaKmua in "Ask HN: Resources for Learning Graphics Programming"]]></title><description><![CDATA[
<p>I would also recommend that one. Those two were the foundation for my graphics knowledge when I was learning.</p>
]]></description><pubDate>Thu, 26 Sep 2024 05:12:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=41654737</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=41654737</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41654737</guid></item><item><title><![CDATA[New comment by luaKmua in "Ask HN: Resources for Learning Graphics Programming"]]></title><description><![CDATA[
<p>I'm a little surprised no one has recommended the Frank Luna books. They're great introductory books. I used the DX9/DX10 books during my education when writing my game engines. I haven't read the DX12 book, but DX9/10/11 were basically the same structure only updated for the new APIs.<p><a href="https://www.amazon.com/Introduction-3D-Game-Programming-DirectX/dp/1942270062" rel="nofollow">https://www.amazon.com/Introduction-3D-Game-Programming-Dire...</a></p>
]]></description><pubDate>Thu, 26 Sep 2024 04:19:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=41654519</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=41654519</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41654519</guid></item><item><title><![CDATA[New comment by luaKmua in "Perplexity AI is lying about their user agent"]]></title><description><![CDATA[
<p>Pedantry aside, let's restate as "present the core thoughts" to the user, which still implies value. I agree that most of google front page results are SEO garbage these days, but that's a separate issue from claiming that are summary of a piece of information removes the original of its value. I'd even argue that it transfers it from one entity to the other in this case.</p>
]]></description><pubDate>Sat, 15 Jun 2024 19:07:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=40691956</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=40691956</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40691956</guid></item><item><title><![CDATA[New comment by luaKmua in "Perplexity AI is lying about their user agent"]]></title><description><![CDATA[
<p>That line of thinking makes no sense. If the "content" had no value, why would google go through the effort of scraping it and presenting it to the user?</p>
]]></description><pubDate>Sat, 15 Jun 2024 18:55:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=40691872</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=40691872</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40691872</guid></item><item><title><![CDATA[New comment by luaKmua in "Unity Software to cut 3.8% of staff in 'company reset'"]]></title><description><![CDATA[
<p>No love for Unity here, their licensing debacle was horrendous, but I've seen no indications that DOTS is responsible for CS2 perf issues. Everything I've seen points to other things lacking in the engine (a decent LODing system for example), general optimization issues that'd be present in any game shipped too early, and inefficiencies in the rendering pipeline.</p>
]]></description><pubDate>Wed, 29 Nov 2023 04:37:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=38455632</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=38455632</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38455632</guid></item><item><title><![CDATA[New comment by luaKmua in "Human Shader"]]></title><description><![CDATA[
<p>At their heart, that's what pixel/fragment shaders are. They're calculations for determining what color a pixel should be.<p>A really basic one returning red for every pixel would make a red screen. The most common use would be rendering a textured mesh and determining how lighting should effect it (is it skin? A metal surface?).<p>Then you can look at crazy things like <a href="https://www.shadertoy.com/" rel="nofollow noreferrer">https://www.shadertoy.com/</a> which are all purely made in pixel shaders (also that site is run by the creator of the Human Shader)</p>
]]></description><pubDate>Fri, 21 Jul 2023 03:56:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=36809831</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=36809831</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36809831</guid></item><item><title><![CDATA[New comment by luaKmua in "Launch HN: Senpai.gg (YC S21) – Personal gaming coach for PC gamers"]]></title><description><![CDATA[
<p>Competitive games have a variety of ways for players to express their skills. I'm not going to comment on whether or not it's good design, but it is clearly the <i>intended</i> design and that's the important differentiating factor. Competitive games are always going to benefit some players who are good at some specific aspects of them inherently by their nature.</p>
]]></description><pubDate>Thu, 12 Aug 2021 07:08:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=28153006</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=28153006</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28153006</guid></item><item><title><![CDATA[New comment by luaKmua in "Launch HN: Senpai.gg (YC S21) – Personal gaming coach for PC gamers"]]></title><description><![CDATA[
<p>Speaking as a league player and a game developer, the audio cues are 100% cheating and also explicitly against Riot's ToS as stated here: <a href="https://support-leagueoflegends.riotgames.com/hc/en-us/articles/225266848-Third-Party-Applications" rel="nofollow">https://support-leagueoflegends.riotgames.com/hc/en-us/artic...</a><p>The relevant excerpt: 
"Exposing information that’s intentionally obfuscated (cooldowns or timers)"<p>As for all of the other match data mining, that's par for the course in competitive games these days.</p>
]]></description><pubDate>Thu, 12 Aug 2021 02:33:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=28151025</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=28151025</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28151025</guid></item><item><title><![CDATA[New comment by luaKmua in "How to Think about Pleasure"]]></title><description><![CDATA[
<p>FWIW, I get long-term satisfaction from playing a couple of video games that I've become deeply knowledgeable and skillful in. I have a community of friends in each and the process of improving and having a good match is the fun part, rather than the simple act of playing itself. Think of it like becoming really good at chess for the deep games.</p>
]]></description><pubDate>Wed, 23 Jun 2021 06:04:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=27601288</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=27601288</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27601288</guid></item><item><title><![CDATA[New comment by luaKmua in "Game developers sharing their salaries on Twitter"]]></title><description><![CDATA[
<p>Having done work in a variety of contexts from Game Engine development to working in Unity, what you are describing is only true for the most trivial of projects. Larger projects (especially AAA) have so much customization of the engines and pushing of their boundaries that they require just as much technical expertise as engine development for many of the required tasks.<p>There are advantages and disadvantages for using these engines. They soften the "getting started" part of game dev for newer people, but for complicated projects it tends to be kicking the can down the road for dealing with deeper issues.<p>You'd be hard pressed to squeeze good perf out Unity while fully using the HDRP and not understanding the ins and outs of the pipeline.</p>
]]></description><pubDate>Mon, 10 May 2021 22:50:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=27111829</link><dc:creator>luaKmua</dc:creator><comments>https://news.ycombinator.com/item?id=27111829</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27111829</guid></item></channel></rss>