<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: mjs01</title><link>https://news.ycombinator.com/user?id=mjs01</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 20 Oct 2026 18:57:51 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=mjs01" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by mjs01 in "C constructs that still don't work in C++"]]></title><description><![CDATA[
<p>Some unmentioned incompatibilities I've encountered that makes a C header not directly usable in C++:<p>- C `_Atomic(T)` and C++ `std::atomic<T>`. C++23 has C compatible header `stdatomic.h` that defines `_Atomic(T)`, but it's still problematic<p>- C `_Noreturn/noreturn` and C++ `[[noreturn]]`. C23 `[[noreturn]]` makes them compatible<p>- C inline and C++ inline are different. Good news is their `static inline` are the same<p>- C has anonymous struct. C++ doesn't. Both have anonymous union though</p>
]]></description><pubDate>Mon, 25 May 2026 04:42:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=48263451</link><dc:creator>mjs01</dc:creator><comments>https://news.ycombinator.com/item?id=48263451</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48263451</guid></item><item><title><![CDATA[New comment by mjs01 in "Everything in C is undefined behavior"]]></title><description><![CDATA[
<p>Integer promotion seems to be the source of many signed integer overflow UB. Why does C have it? Does integer promotion ever have a good part?</p>
]]></description><pubDate>Wed, 20 May 2026 09:02:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=48204976</link><dc:creator>mjs01</dc:creator><comments>https://news.ycombinator.com/item?id=48204976</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48204976</guid></item><item><title><![CDATA[New comment by mjs01 in "It is incorrect to "normalize" // in HTTP URL paths"]]></title><description><![CDATA[
<p>// is useful if the server needs to serve both static files in the filesystem, and embedded files like a webpage.
// can be used for embedded files' URL because they will never conflict with filesystem paths.</p>
]]></description><pubDate>Sat, 18 Apr 2026 08:13:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=47814160</link><dc:creator>mjs01</dc:creator><comments>https://news.ycombinator.com/item?id=47814160</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47814160</guid></item></channel></rss>