<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: Negitivefrags</title><link>https://news.ycombinator.com/user?id=Negitivefrags</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 24 Apr 2026 02:39:35 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=Negitivefrags" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by Negitivefrags in "It's OK to compare floating-points for equality"]]></title><description><![CDATA[
<p>Yes, there are a large number of ways to fall into traps that cause you to do a different series of operations when you didn't realise that you did. But that's still ultimately what all your examples are. (Except the NaN thing!)<p>I still think it's important to fight the misinformation.<p>Programmers have been conditioned to be so afraid of floats that many believe that doing a + b has an essentially random outcome when it doesn't work that way at all. It leads people to spend a bunch of effort on things that they don't need to be doing.</p>
]]></description><pubDate>Sat, 18 Apr 2026 21:53:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=47819837</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=47819837</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47819837</guid></item><item><title><![CDATA[New comment by Negitivefrags in "It's OK to compare floating-points for equality"]]></title><description><![CDATA[
<p>This is the kind of misinformation that makes people more wary of floats than they should be.<p>The same series of operations with the same input will always produce exactly the same floating point results. Every time. No exceptions.<p>Hardware doesn't matter. Breed of CPU doesn't matter. Threads don't matter. Scheduling doesn't matter. IEEE floating point is a standard. Everyone follows the standard. Anything not producing indentical results for the same series of operations is *broken*.<p>What you are referring to is the result of different compilers doing a different series of operations than each other. In particular, if you are using the x87 fp unit, MSVC will round 80-bit floating point down to 32/64 bits before doing a comparison, and GCC will not by default.<p>Compliers doesn't even use 80-bit FP by default when compiling for 64 bit targets, so this is not a concern anymore, and hasn't been for a very long time.</p>
]]></description><pubDate>Sat, 18 Apr 2026 20:51:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=47819430</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=47819430</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47819430</guid></item><item><title><![CDATA[New comment by Negitivefrags in "The future of everything is lies, I guess: Where do we go from here?"]]></title><description><![CDATA[
<p>Cars are not popular becuase people pushed them. Cars are popular because the utility is undeniable.<p>This is true for any kind of transformative technology. Marketing and lobbying can only get you so far. If something has enough utility, it will be used regardless of what people say they want.</p>
]]></description><pubDate>Thu, 16 Apr 2026 20:39:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=47799191</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=47799191</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47799191</guid></item><item><title><![CDATA[New comment by Negitivefrags in "C++26 is done: ISO C++ standards meeting Trip Report"]]></title><description><![CDATA[
<p>That is a way better syntax. I wonder why C++ didn't adopt it.</p>
]]></description><pubDate>Mon, 30 Mar 2026 04:55:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=47570524</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=47570524</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47570524</guid></item><item><title><![CDATA[New comment by Negitivefrags in "The unlikely story of Teardown Multiplayer"]]></title><description><![CDATA[
<p>We use floating point operations with deterministic lockstep with a server compiled on GCC in Linux a windows client compiled with MSVC in windows, and an iOS client running on ARM which I believe is compiled with clang.<p>Works fine.<p>This is a not a small code base, and no particular care has been taken with the floating point operations used.</p>
]]></description><pubDate>Tue, 17 Mar 2026 17:25:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=47415670</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=47415670</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47415670</guid></item><item><title><![CDATA[New comment by Negitivefrags in "What happens when US economic data becomes unreliable"]]></title><description><![CDATA[
<p>I’m curious how you would respond to the arguments in this video.<p><a href="https://youtu.be/9KJTWmRrneo?si=I9mvSPfDnhkckb9n" rel="nofollow">https://youtu.be/9KJTWmRrneo?si=I9mvSPfDnhkckb9n</a></p>
]]></description><pubDate>Sat, 14 Mar 2026 18:04:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=47379345</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=47379345</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47379345</guid></item><item><title><![CDATA[New comment by Negitivefrags in "Bubble Sorted Amen Break"]]></title><description><![CDATA[
<p>Can we get an Amen quicksort now?</p>
]]></description><pubDate>Thu, 12 Mar 2026 20:51:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=47356911</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=47356911</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47356911</guid></item><item><title><![CDATA[New comment by Negitivefrags in "Why does C have the best file API"]]></title><description><![CDATA[
<p>I've written a lot of code using that method, and never had any portability issues. You use types with number of bits in them.<p>Hell, I've slung C structs across the network between 3 CPU architectures. And I didn't even use htons!<p>Maybe it's not portable to some ancient architecture, but none that I have experienced.<p>If there is undefined behavior, it's certainly never been a problem either.<p>And I've seen a lot of talk about TLB shootdown, so I tried to reproduce those problems but even with over 32 threads, mmap was still faster than fread into memory in the tests I ran.<p>Look, obviously there are use cases for libraries like that, but a lot of the time you just need something simple, and writing some structs to disk can go a long way.</p>
]]></description><pubDate>Mon, 02 Mar 2026 06:11:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=47214445</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=47214445</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47214445</guid></item><item><title><![CDATA[New comment by Negitivefrags in "Why does C have the best file API"]]></title><description><![CDATA[
<p>Why is it such a terrible idea?<p>No need to add complexity, dependancies and reduced performance by using these libraries.</p>
]]></description><pubDate>Mon, 02 Mar 2026 05:59:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=47214373</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=47214373</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47214373</guid></item><item><title><![CDATA[New comment by Negitivefrags in "Minecraft Java is switching from OpenGL to Vulkan"]]></title><description><![CDATA[
<p>Well our game runs faster in DX12 under Proton than Vulkan under Proton.<p>Of course since Proton uses Vulkan to implement DX12, it means that our Vulkan implementation is simply worse than the one that Valve created to emulate DX12.<p>I'm sure it's possible to improve that, but it implies that there way to get the best performance out of Vulkan is less obvious than the way to get it out of DX12.</p>
]]></description><pubDate>Thu, 19 Feb 2026 06:45:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=47070695</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=47070695</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47070695</guid></item><item><title><![CDATA[New comment by Negitivefrags in "Minecraft Java is switching from OpenGL to Vulkan"]]></title><description><![CDATA[
<p>Support for DX12 under Proton in linux is incredibly good. Some games actually run faster under DX12 in Proton than the native versions do.</p>
]]></description><pubDate>Thu, 19 Feb 2026 05:38:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=47070311</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=47070311</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47070311</guid></item><item><title><![CDATA[New comment by Negitivefrags in "Minecraft Java is switching from OpenGL to Vulkan"]]></title><description><![CDATA[
<p>The reason you use DX12 in a new project is so that you can get good linux support.<p>I'm making a joke, but it's also true.</p>
]]></description><pubDate>Thu, 19 Feb 2026 05:01:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=47070110</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=47070110</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47070110</guid></item><item><title><![CDATA[New comment by Negitivefrags in "The Singularity will occur on a Tuesday"]]></title><description><![CDATA[
<p>> If the singularity does happen, then it hardly matters what people do or don't believe.<p>Depends on how you feel about Roko's basilisk.</p>
]]></description><pubDate>Tue, 10 Feb 2026 18:41:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=46964747</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=46964747</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46964747</guid></item><item><title><![CDATA[New comment by Negitivefrags in "You have to know how to drive the car"]]></title><description><![CDATA[
<p>As a manager, this is 100% the answer. The people who do this are incredibly valuable.<p>At every performance review I tell all the people who don't do this that they need to do it more. None of them ever do.<p>For all I can tell, it's an immutable characteristic that 90% of people will never bring something up unless you ask them.</p>
]]></description><pubDate>Tue, 27 Jan 2026 05:08:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=46775766</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=46775766</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46775766</guid></item><item><title><![CDATA[New comment by Negitivefrags in "Hung by a thread"]]></title><description><![CDATA[
<p>It's quite interesting to me the way that different "programming cultures" exist around debuggers.<p>If you grew up doing windows C++ development, looking at things in a debugger is your first step. You only resort to printing values if you can't immediately see what happened in the debugger.<p>A lot of other envioronment/language cultures are the opposite. Obviously both have their place, but I do feel like more people should use the debugger as the first step instead of the last.</p>
]]></description><pubDate>Sat, 24 Jan 2026 20:21:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=46747276</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=46747276</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46747276</guid></item><item><title><![CDATA[New comment by Negitivefrags in "LLVM AI tool policy: human in the loop"]]></title><description><![CDATA[
<p>Of course it’s the minimum standard, and it’s obvious if you view AI as a tool that a human uses.<p>But some people view it as a seperate entity that writes code for you. And if you view AI like that, then “The AI did it” becomes an excuse that they use.</p>
]]></description><pubDate>Wed, 31 Dec 2025 05:13:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=46441538</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=46441538</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46441538</guid></item><item><title><![CDATA[New comment by Negitivefrags in "LLVM AI tool policy: human in the loop"]]></title><description><![CDATA[
<p>At my company I just tell people “You have to stand behind your work”<p>And in practice that means that I won’t take “The AI did it” as an excuse. You have to stand behind the work you did even if you used AI to help.<p>I neither tell people to use AI, nor tell them not to use it, and in practice people have not been using AI much for whatever that is worth.</p>
]]></description><pubDate>Wed, 31 Dec 2025 05:02:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=46441461</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=46441461</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46441461</guid></item><item><title><![CDATA[New comment by Negitivefrags in "Loss32: Let's Build a Win32/Linux"]]></title><description><![CDATA[
<p>I think it's not unlikely that we reach reach a point in a couple of decades where we are all developing win32 apps that most people are running some form of linux.<p>We already have an entire platform like that (steam deck), and it's the best linux development experience around in my opinion.</p>
]]></description><pubDate>Tue, 30 Dec 2025 20:03:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=46437361</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=46437361</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46437361</guid></item><item><title><![CDATA[New comment by Negitivefrags in "A production bug that made me care about undefined behavior"]]></title><description><![CDATA[
<p>Why is the code gen bad? What result are you wanting? You specifically want whatever value happened to be on the stack as opposed to a value the compiler picked?</p>
]]></description><pubDate>Tue, 30 Dec 2025 03:10:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=46429104</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=46429104</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46429104</guid></item><item><title><![CDATA[New comment by Negitivefrags in "A production bug that made me care about undefined behavior"]]></title><description><![CDATA[
<p>It’s not incorrect.<p>The code says that if x is true then a=13 and if it is false than b=37.<p>This is the case. Its just that a=13 even if x is false. A thing that the code had nothing to say about, and so the compiler is free to do.</p>
]]></description><pubDate>Mon, 29 Dec 2025 20:07:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=46424925</link><dc:creator>Negitivefrags</dc:creator><comments>https://news.ycombinator.com/item?id=46424925</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46424925</guid></item></channel></rss>