<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: bigcheesegs</title><link>https://news.ycombinator.com/user?id=bigcheesegs</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 17 Apr 2026 22:52:34 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=bigcheesegs" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by bigcheesegs in "The C++ Iceberg"]]></title><description><![CDATA[
<p>UB is a choice in that we could require symbolic execution of of all code. This is incredibly slow, so we don't.<p>There are many cases of UB that would be cheap to check, but there are many more that are incredibly expensive to check.</p>
]]></description><pubDate>Wed, 08 May 2024 10:19:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=40296287</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=40296287</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40296287</guid></item><item><title><![CDATA[New comment by bigcheesegs in "Why We Can't Have Nice Software"]]></title><description><![CDATA[
<p>"state's monopoly on violence" means that a state's power to enforce its rules is rooted in its ability to use violence on those that refuse. Putting someone in jail is not physical violence, but what keeps them there (and why they even showed up to court) is the near guarantee of violence if they refuse.</p>
]]></description><pubDate>Tue, 06 Feb 2024 00:10:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=39269014</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=39269014</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39269014</guid></item><item><title><![CDATA[New comment by bigcheesegs in "6502 back end for LLVM (2022) [video]"]]></title><description><![CDATA[
<p>LLVM does this on x86 because partial register writes don't break dependency chains in many cases, meaning that you can get stalls due to false dependencies.<p>There's nothing in LLVM itself that makes it use larger sizes, it just depends on the ABI and what's fastest when ABI doesn't matter.</p>
]]></description><pubDate>Sun, 12 Nov 2023 10:18:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=38238985</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=38238985</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38238985</guid></item><item><title><![CDATA[New comment by bigcheesegs in "4th edition of Physically Based Rendering is now freely available online"]]></title><description><![CDATA[
<p><a href="https://en.wikipedia.org/wiki/Unreal_Tournament_3" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Unreal_Tournament_3</a></p>
]]></description><pubDate>Fri, 03 Nov 2023 08:34:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=38125985</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=38125985</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38125985</guid></item><item><title><![CDATA[New comment by bigcheesegs in "Ways to break your systems code using volatile (2010)"]]></title><description><![CDATA[
<p>In C++ this violates the data race rules both with and without volatile, but because it's sig_atomic_t it has a special carve out _only_ if it's volatile. See <a href="https://eel.is/c++draft/basic#intro.races-22" rel="nofollow noreferrer">https://eel.is/c++draft/basic#intro.races-22</a><p>C however states :<p>> When the processing of the abstract machine is interrupted by receipt of a signal, the values of objects that are neither lock-free atomic objects nor of type volatile sig_atomic_t are unspecified, [...] The representation of any object modified by the handler that is neither a lock-free atomic object nor of type volatile sig_atomic_t becomes indeterminate when the handler exits.<p>This wording is not present in C++, as it instead defines how signal handlers fit into the memory model.<p>This means that (with adjustments for C atomics):<p><pre><code>  int val = 0;
  std::atomic<bool> flag{false};
  
  void handler(int sig) {
    if (!set) {
      val = 1;
      flag = true;
    }
  }

  int main(void) {
    signal(SIGINT, handler);
    while (!flag) { /* Spin waiting for flag */ }
    return val;
  }
</code></pre>
Is valid in C++, but not in C.</p>
]]></description><pubDate>Fri, 06 Oct 2023 16:02:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=37792518</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=37792518</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37792518</guid></item><item><title><![CDATA[New comment by bigcheesegs in "Ways to break your systems code using volatile (2010)"]]></title><description><![CDATA[
<p>For 1) lock-free atomics are also allowed.<p>In C++ there's actually a lot more freedom. You can access non-atomic non-volatile-std :: sig_atomic_t variables as long as you don't violate the data race rules.</p>
]]></description><pubDate>Fri, 06 Oct 2023 09:23:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=37788657</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=37788657</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37788657</guid></item><item><title><![CDATA[New comment by bigcheesegs in "Deepmind Alphadev: Faster sorting algorithms discovered using deep RL"]]></title><description><![CDATA[
<p>libc++ was open sourced May 11th 2010. 13 years ago. <a href="https://blog.llvm.org/2010/05/new-libc-c-standard-library.html" rel="nofollow">https://blog.llvm.org/2010/05/new-libc-c-standard-library.ht...</a></p>
]]></description><pubDate>Wed, 07 Jun 2023 20:38:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=36233201</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=36233201</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36233201</guid></item><item><title><![CDATA[New comment by bigcheesegs in "An unwilling illustrator found herself turned into an AI model"]]></title><description><![CDATA[
<p>The LAION dataset, which SD was trained on, is just a list of URLs and textual descriptions. There's no illegal copying going on when StabilityAI trained SD. It's also not illegal for you to do the same thing.</p>
]]></description><pubDate>Thu, 03 Nov 2022 07:08:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=33447947</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=33447947</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33447947</guid></item><item><title><![CDATA[New comment by bigcheesegs in "Online art communities begin banning AI-generated images"]]></title><description><![CDATA[
<p>I think the much more likely outcome is further research on making the prompts smarter and more human like.</p>
]]></description><pubDate>Mon, 12 Sep 2022 17:28:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=32813679</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=32813679</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32813679</guid></item><item><title><![CDATA[New comment by bigcheesegs in "IPv4 Turf War"]]></title><description><![CDATA[
<p>Very surprised 17net only has 1.</p>
]]></description><pubDate>Sun, 11 Sep 2022 09:50:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=32798290</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=32798290</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32798290</guid></item><item><title><![CDATA[New comment by bigcheesegs in "EV adoption in US is happening faster than predicted"]]></title><description><![CDATA[
<p>There's lots of overnight street parking in the bay area, but there are lots of other opportunities to charge.  The actual hard case is someone that drives a significant amount during the day, doesn't have charging at work, and can't have charging overnight. Here really the only option is DC fast charging.<p>However, this is a reasonable rare circumstance, and it's only getting easier to charge.</p>
]]></description><pubDate>Mon, 05 Sep 2022 07:23:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=32721482</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=32721482</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32721482</guid></item><item><title><![CDATA[New comment by bigcheesegs in "Raspberry Pi Pico W: your $6 IoT platform"]]></title><description><![CDATA[
<p>I'm surprised there's no 802.15.4/Thread support on a new IoT platform in 2022.<p>Also the power consumption makes this mostly useless for battery operation. Overall I'm still not impressed by the 2040. I'll stick with the NRF52840.</p>
]]></description><pubDate>Thu, 30 Jun 2022 09:40:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=31930388</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=31930388</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31930388</guid></item><item><title><![CDATA[New comment by bigcheesegs in "2022 Mac Studio (20-core M1 Ultra) Review"]]></title><description><![CDATA[
<p>No. The economics of Proof of Work mean that increases in compute per watt just lead to an increase in global hash rate. Total energy usage never goes down as long as it's sufficiently profitable to use the energy.</p>
]]></description><pubDate>Fri, 29 Apr 2022 09:42:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=31203234</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=31203234</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31203234</guid></item><item><title><![CDATA[New comment by bigcheesegs in "Addressing Criticism of RISC-V Microprocessors"]]></title><description><![CDATA[
<p>Encoding space, not die space.</p>
]]></description><pubDate>Sun, 20 Mar 2022 20:54:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=30746515</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=30746515</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30746515</guid></item><item><title><![CDATA[New comment by bigcheesegs in "Cybercriminals who breached Nvidia issue one of the most unusual demands ever"]]></title><description><![CDATA[
<p>> it seems very obviously a move to force miners to use more GPUs in parallel<p>This is very obviously wrong. The economics of crypto mining are almost entirely dominated by power cost. Nvidia's decision here simply means they will use other hardware, not more of the LHR hardware.<p>Nvidia already can't make enough GPUs to satisfy demand. Why would they try to increase undesirable demand (which is going away soon anyway, at least for ETH).</p>
]]></description><pubDate>Fri, 04 Mar 2022 13:56:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=30554741</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=30554741</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30554741</guid></item><item><title><![CDATA[New comment by bigcheesegs in "Why introduce `std::launder` rather than have the compiler take care of it?"]]></title><description><![CDATA[
<p>Do you have any examples? std::launder fixes an issue that has existed since C++98.</p>
]]></description><pubDate>Sat, 22 Jan 2022 09:10:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=30035034</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=30035034</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30035034</guid></item><item><title><![CDATA[New comment by bigcheesegs in "ISO C became unusable for operating systems development"]]></title><description><![CDATA[
<p>You don't actually want implementation defined behavior. There is no restriction on implementation defined behavior, it just needs to be documented. Suitable documentation includes "the optimizer assumes this never happens and optimizes accordingly.", or "Look at the source code."</p>
]]></description><pubDate>Sat, 22 Jan 2022 03:56:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=30033323</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=30033323</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30033323</guid></item><item><title><![CDATA[New comment by bigcheesegs in "Finding your home in game graphics programming"]]></title><description><![CDATA[
<p>> I don't believe RAM layout is that important. [...]<p>ASLR has nothing to do with the type of memory layout discussed here. ASLR only impacts compiled code/data, and only entire shared objects/executables at a time.<p>A bad memory layout can have a huge impact on perf. A simple example is iteration order of a 2d array, where not doing sequential access can result in a ~5x slow down.<p>> Computer thermals when running the test can contribute 40%.<p>Only if you forgot to apply thermal paste.</p>
]]></description><pubDate>Sat, 01 Jan 2022 12:41:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=29757824</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=29757824</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29757824</guid></item><item><title><![CDATA[New comment by bigcheesegs in "Transmission torrent client ported to C++"]]></title><description><![CDATA[
<p>Could be 1. Just adopt the C++ std as the C std.</p>
]]></description><pubDate>Mon, 13 Sep 2021 05:19:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=28508081</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=28508081</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28508081</guid></item><item><title><![CDATA[New comment by bigcheesegs in "Amazon asked FCC to reject Starlink plan because it can’t compete, SpaceX says"]]></title><description><![CDATA[
<p>> they stay orbiting indefinitely<p>Not quite true. For example quite a few orbits around the moon are unstable and you will end up crashing into the surface. This is due to essentially all celestial objects not being spherical.</p>
]]></description><pubDate>Thu, 02 Sep 2021 03:03:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=28388240</link><dc:creator>bigcheesegs</dc:creator><comments>https://news.ycombinator.com/item?id=28388240</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28388240</guid></item></channel></rss>