<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 - Newest: &#34;C++&#34;</title><link>https://news.ycombinator.com/newest</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 27 Sep 2026 21:17:55 +0000</lastBuildDate><atom:link href="https://hnrss.org/newest?q=C%2B%2B" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[Writing Efficient C++ Code (2013)]]></title><description><![CDATA[
<p>Article URL: <a href="https://asawicki.info/articles/writing_efficient_cpp_code.php">https://asawicki.info/articles/writing_efficient_cpp_code.php</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49849409">https://news.ycombinator.com/item?id=49849409</a></p>
<p>Points: 120</p>
<p># Comments: 71</p>
]]></description><pubDate>Fri, 25 Sep 2026 20:20:27 +0000</pubDate><link>https://asawicki.info/articles/writing_efficient_cpp_code.php</link><dc:creator>ibobev</dc:creator><comments>https://news.ycombinator.com/item?id=49849409</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49849409</guid></item><item><title><![CDATA[Show HN: A benchmark comparison of C++ vs. Node.js performance]]></title><description><![CDATA[
<p>Article URL: <a href="https://vikky2810.github.io/blog/cpp-vs-node/">https://vikky2810.github.io/blog/cpp-vs-node/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49840469">https://news.ycombinator.com/item?id=49840469</a></p>
<p>Points: 5</p>
<p># Comments: 1</p>
]]></description><pubDate>Fri, 25 Sep 2026 05:25:29 +0000</pubDate><link>https://vikky2810.github.io/blog/cpp-vs-node/</link><dc:creator>vikky2810</dc:creator><comments>https://news.ycombinator.com/item?id=49840469</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49840469</guid></item><item><title><![CDATA[Can Java's Adjoint Automatic Differentiation Compete with C++?]]></title><description><![CDATA[
<p>Article URL: <a href="https://nablatensor.com/blog/xad-matlogica-aadc-monte-carlo-benchmark">https://nablatensor.com/blog/xad-matlogica-aadc-monte-carlo-benchmark</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49835576">https://news.ycombinator.com/item?id=49835576</a></p>
<p>Points: 4</p>
<p># Comments: 0</p>
]]></description><pubDate>Thu, 24 Sep 2026 19:18:32 +0000</pubDate><link>https://nablatensor.com/blog/xad-matlogica-aadc-monte-carlo-benchmark</link><dc:creator>petrpravda</dc:creator><comments>https://news.ycombinator.com/item?id=49835576</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49835576</guid></item><item><title><![CDATA[Open Source World of Warcraft Client in C++ and Vulkan Renderer]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/Kelsidavis/WoWee">https://github.com/Kelsidavis/WoWee</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49821907">https://news.ycombinator.com/item?id=49821907</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 23 Sep 2026 20:18:24 +0000</pubDate><link>https://github.com/Kelsidavis/WoWee</link><dc:creator>m0do1</dc:creator><comments>https://news.ycombinator.com/item?id=49821907</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49821907</guid></item><item><title><![CDATA[How fast is C++23's std:flat_map?]]></title><description><![CDATA[
<p>Article URL: <a href="https://lemire.me/blog/2026/09/16/how-fast-is-c23s-stdflat_map/">https://lemire.me/blog/2026/09/16/how-fast-is-c23s-stdflat_map/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49815003">https://news.ycombinator.com/item?id=49815003</a></p>
<p>Points: 3</p>
<p># Comments: 1</p>
]]></description><pubDate>Wed, 23 Sep 2026 12:20:04 +0000</pubDate><link>https://lemire.me/blog/2026/09/16/how-fast-is-c23s-stdflat_map/</link><dc:creator>surprisetalk</dc:creator><comments>https://news.ycombinator.com/item?id=49815003</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49815003</guid></item><item><title><![CDATA[Show HN: Open-source Express-like HTTP server in C++]]></title><description><![CDATA[
<p>Hey guys, I made an open-source Express like non blocking HTTP Server library in C++. Starting a new web server is as simple as initiating the app with the desired port (8080 default) and start registering routes.<p>#include <PlusWeb/HttpServer.h><p>int main() {
    HttpServer app(3000);<p><pre><code>    app.GET("/users/:id", [](HttpRequest& req, HttpResponse& res) {
        res.status(200).send(nlohmann::json{
            {"id", req.params["id"]},
            {"name", "ada"},
        });
    });

    app.serve([] { std::cout << "listening on :3000\n"; });</code></pre>
}<p>It supports middleware chaining and since it uses tries for storing routes instead of a flat array like Express, the performance gets better as the application scales up<p>For example:
At 5 Routes PlusWeb is 4.8x faster than express
whereas at 10,000 routes it is 253x faster than express<p>Playground: <a href="https://amsozzer.com/projects/plusweb" rel="nofollow">https://amsozzer.com/projects/plusweb</a>
It is available to use on <a href="https://github.com/Amsozzer1/PlusWeb" rel="nofollow">https://github.com/Amsozzer1/PlusWeb</a><p>Some more profiling info available on <a href="https://github.com/Amsozzer1/PlusWeb/blob/main/PROFILING_REPORT.md" rel="nofollow">https://github.com/Amsozzer1/PlusWeb/blob/main/PROFILING_REP...</a><p>Learn more about my mistakes building PlusWeb and how I fixed them on <a href="https://amsozzer.com/writing/i-could-not-understand-express-so-i-wrote-my-own" rel="nofollow">https://amsozzer.com/writing/i-could-not-understand-express-...</a></p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49809041">https://news.ycombinator.com/item?id=49809041</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Tue, 22 Sep 2026 22:20:41 +0000</pubDate><link>https://amsozzer.com/projects/plusweb</link><dc:creator>Amsozzer</dc:creator><comments>https://news.ycombinator.com/item?id=49809041</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49809041</guid></item><item><title><![CDATA[Type Punning in C and C++]]></title><description><![CDATA[
<p>Article URL: <a href="https://blog.pwkf.org/2026/09/21/correct-type-punning-in-c.html">https://blog.pwkf.org/2026/09/21/correct-type-punning-in-c.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49799577">https://news.ycombinator.com/item?id=49799577</a></p>
<p>Points: 36</p>
<p># Comments: 23</p>
]]></description><pubDate>Tue, 22 Sep 2026 11:29:47 +0000</pubDate><link>https://blog.pwkf.org/2026/09/21/correct-type-punning-in-c.html</link><dc:creator>ingve</dc:creator><comments>https://news.ycombinator.com/item?id=49799577</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49799577</guid></item><item><title><![CDATA[Show HN: Spatium – any mathematical space, one C++23 library]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/Vaniell0/spatium">https://github.com/Vaniell0/spatium</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49799228">https://news.ycombinator.com/item?id=49799228</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Tue, 22 Sep 2026 10:53:37 +0000</pubDate><link>https://github.com/Vaniell0/spatium</link><dc:creator>Vaniello</dc:creator><comments>https://news.ycombinator.com/item?id=49799228</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49799228</guid></item><item><title><![CDATA[Fastlogging-Rs: High-Performance Logging for Rust, Python, C, C++, Java, Go, C#]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/brmmm3/fastlogging-rs">https://github.com/brmmm3/fastlogging-rs</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49792528">https://news.ycombinator.com/item?id=49792528</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Mon, 21 Sep 2026 19:58:32 +0000</pubDate><link>https://github.com/brmmm3/fastlogging-rs</link><dc:creator>brmmm3</dc:creator><comments>https://news.ycombinator.com/item?id=49792528</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49792528</guid></item><item><title><![CDATA[Show HN: FractalBrainOS – self-learning brain in C++17 (no backprop)]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/NineNi999neNine/FractalBrainOS">https://github.com/NineNi999neNine/FractalBrainOS</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49788302">https://news.ycombinator.com/item?id=49788302</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Mon, 21 Sep 2026 15:09:04 +0000</pubDate><link>https://github.com/NineNi999neNine/FractalBrainOS</link><dc:creator>06121985</dc:creator><comments>https://news.ycombinator.com/item?id=49788302</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49788302</guid></item><item><title><![CDATA[Geatsc – TypeScript-to-C++ Compiler]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/geastack/compiler">https://github.com/geastack/compiler</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49779069">https://news.ycombinator.com/item?id=49779069</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Sun, 20 Sep 2026 19:20:22 +0000</pubDate><link>https://github.com/geastack/compiler</link><dc:creator>arbayi</dc:creator><comments>https://news.ycombinator.com/item?id=49779069</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49779069</guid></item><item><title><![CDATA[Resident Evil 4 (GameCube) – complete byte-identical decompilation to C/C++]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/adonis-singh/re4">https://github.com/adonis-singh/re4</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49778022">https://news.ycombinator.com/item?id=49778022</a></p>
<p>Points: 140</p>
<p># Comments: 99</p>
]]></description><pubDate>Sun, 20 Sep 2026 17:38:27 +0000</pubDate><link>https://github.com/adonis-singh/re4</link><dc:creator>metrofun</dc:creator><comments>https://news.ycombinator.com/item?id=49778022</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49778022</guid></item><item><title><![CDATA[Comparing reflection capabilities of C++, Zig and C3]]></title><description><![CDATA[
<p>Article URL: <a href="https://nyr24.github.io/blog/reflection-comparison/">https://nyr24.github.io/blog/reflection-comparison/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49771873">https://news.ycombinator.com/item?id=49771873</a></p>
<p>Points: 11</p>
<p># Comments: 7</p>
]]></description><pubDate>Sun, 20 Sep 2026 02:00:31 +0000</pubDate><link>https://nyr24.github.io/blog/reflection-comparison/</link><dc:creator>ManuLinares</dc:creator><comments>https://news.ycombinator.com/item?id=49771873</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49771873</guid></item><item><title><![CDATA[The C++20's u8/char8_t Backward-Compatibility Fiasco]]></title><description><![CDATA[
<p>Article URL: <a href="https://giodicanio.com/2026/09/11/the-c-plus-plus-20-s-u8-char8_t-fiasco/">https://giodicanio.com/2026/09/11/the-c-plus-plus-20-s-u8-char8_t-fiasco/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49763761">https://news.ycombinator.com/item?id=49763761</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Sat, 19 Sep 2026 05:58:35 +0000</pubDate><link>https://giodicanio.com/2026/09/11/the-c-plus-plus-20-s-u8-char8_t-fiasco/</link><dc:creator>signa11</dc:creator><comments>https://news.ycombinator.com/item?id=49763761</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49763761</guid></item><item><title><![CDATA[C++26: Trivial infinite loops are no longer undefined behaviour]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.sandordargo.com/blog/2026/09/16/cpp26-trivial-infinite-loops">https://www.sandordargo.com/blog/2026/09/16/cpp26-trivial-infinite-loops</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49753817">https://news.ycombinator.com/item?id=49753817</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 18 Sep 2026 13:01:29 +0000</pubDate><link>https://www.sandordargo.com/blog/2026/09/16/cpp26-trivial-infinite-loops</link><dc:creator>ibobev</dc:creator><comments>https://news.ycombinator.com/item?id=49753817</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49753817</guid></item><item><title><![CDATA[The C++20's u8/char8_t Backward-Compatibility Fiasco]]></title><description><![CDATA[
<p>Article URL: <a href="https://giodicanio.com/2026/09/11/the-c-plus-plus-20-s-u8-char8_t-fiasco/">https://giodicanio.com/2026/09/11/the-c-plus-plus-20-s-u8-char8_t-fiasco/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49751932">https://news.ycombinator.com/item?id=49751932</a></p>
<p>Points: 4</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 18 Sep 2026 09:21:39 +0000</pubDate><link>https://giodicanio.com/2026/09/11/the-c-plus-plus-20-s-u8-char8_t-fiasco/</link><dc:creator>jandeboevrie</dc:creator><comments>https://news.ycombinator.com/item?id=49751932</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49751932</guid></item><item><title><![CDATA[Separating Compilation from Attestation. C++ memory safety without disruption]]></title><description><![CDATA[
<p>Article URL: <a href="https://gist.github.com/mksunny1/fe88dc882278cb76181e7b2b3eb1d5ce">https://gist.github.com/mksunny1/fe88dc882278cb76181e7b2b3eb1d5ce</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49747167">https://news.ycombinator.com/item?id=49747167</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Thu, 17 Sep 2026 21:56:37 +0000</pubDate><link>https://gist.github.com/mksunny1/fe88dc882278cb76181e7b2b3eb1d5ce</link><dc:creator>marksun130</dc:creator><comments>https://news.ycombinator.com/item?id=49747167</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49747167</guid></item><item><title><![CDATA[C++26: Trivial infinite loops are no longer undefined behaviour]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.sandordargo.com/blog/2026/09/16/cpp26-trivial-infinite-loops">https://www.sandordargo.com/blog/2026/09/16/cpp26-trivial-infinite-loops</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49746406">https://news.ycombinator.com/item?id=49746406</a></p>
<p>Points: 173</p>
<p># Comments: 289</p>
]]></description><pubDate>Thu, 17 Sep 2026 20:52:33 +0000</pubDate><link>https://www.sandordargo.com/blog/2026/09/16/cpp26-trivial-infinite-loops</link><dc:creator>ibobev</dc:creator><comments>https://news.ycombinator.com/item?id=49746406</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49746406</guid></item><item><title><![CDATA[How fast is C++23's std:flat_map?]]></title><description><![CDATA[
<p>Article URL: <a href="https://lemire.me/blog/2026/09/16/how-fast-is-c23s-stdflat_map/">https://lemire.me/blog/2026/09/16/how-fast-is-c23s-stdflat_map/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49746231">https://news.ycombinator.com/item?id=49746231</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Thu, 17 Sep 2026 20:40:34 +0000</pubDate><link>https://lemire.me/blog/2026/09/16/how-fast-is-c23s-stdflat_map/</link><dc:creator>ibobev</dc:creator><comments>https://news.ycombinator.com/item?id=49746231</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49746231</guid></item><item><title><![CDATA[Show HN: I wrote a custom assembler for CHIP-8 in C++]]></title><description><![CDATA[
<p>I'm writing a custom assembler for CHIP-8 and just finished adding support for the DB/.byte directive so I can embed sprites in the ROM and finally get something drawn on the screen. It SHOULD support all OG CHIP-8 instructions, but still a ton of rough edges that I'm ironing out.<p>This is my first ever C++ project, just like the CHIP-8 emulator was my first ever C (and emudev) project. It's so satisfying to write assembly and have your program spit out a ROM that actually runs in the emulator you wrote.<p>All code is written by me (a lot of it livestreaming) as evident by the quality, no AI.</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49744174">https://news.ycombinator.com/item?id=49744174</a></p>
<p>Points: 28</p>
<p># Comments: 8</p>
]]></description><pubDate>Thu, 17 Sep 2026 17:47:40 +0000</pubDate><link>https://github.com/Tackx/c8-ass</link><dc:creator>tack1234</dc:creator><comments>https://news.ycombinator.com/item?id=49744174</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49744174</guid></item></channel></rss>