<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: 504118318</title><link>https://news.ycombinator.com/user?id=504118318</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 24 May 2026 21:34:50 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=504118318" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by 504118318 in "sp.h: Fixing C by giving it a high quality, ultra portable standard library"]]></title><description><![CDATA[
<p>You're absolutely right. I should have expressed my late-night frustration more kindly.</p>
]]></description><pubDate>Sat, 23 May 2026 14:14:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=48247916</link><dc:creator>504118318</dc:creator><comments>https://news.ycombinator.com/item?id=48247916</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48247916</guid></item><item><title><![CDATA[New comment by 504118318 in "sp.h: Fixing C by giving it a high quality, ultra portable standard library"]]></title><description><![CDATA[
<p>Just taking a quick look at the atomics section:<p>First, (on unix) it's wrapping pthread mutex. That's part of libc! (Technically it might not be libc.so, but it's still the standard library.)<p>Also, none of the atomics talk about the memory model. You don't _have_ to use the C11 memory model (Linux, for example, doesn't). But if you're not using the C11 memory model and letting the compiler insert fences for you, you definitely need to have fence instructions, yourself.<p>While C11 atomics do rely on libgcc, so do the __sync* functions that this library uses (see <a href="https://godbolt.org/z/bW1f7xGas" rel="nofollow">https://godbolt.org/z/bW1f7xGas</a>) for an example.<p>Oops... apparently this is vibecoded. Welp, I just wasted ten minutes of my life reviewing slop that I'm not going to get back.</p>
]]></description><pubDate>Sat, 23 May 2026 06:04:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=48245154</link><dc:creator>504118318</dc:creator><comments>https://news.ycombinator.com/item?id=48245154</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48245154</guid></item></channel></rss>