<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: mandarax8</title><link>https://news.ycombinator.com/user?id=mandarax8</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 14 May 2026 20:25:11 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=mandarax8" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by mandarax8 in "Reverting the incremental GC in Python 3.14 and 3.15"]]></title><description><![CDATA[
<p>Please read up some more about Java and GCs. Memory allocation and GC are heavily intertwined.</p>
]]></description><pubDate>Thu, 14 May 2026 13:08:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=48134880</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=48134880</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48134880</guid></item><item><title><![CDATA[New comment by mandarax8 in "Optimizing a lock-free ring buffer"]]></title><description><![CDATA[
<p>See <a href="https://fgiesen.wordpress.com/2012/07/21/the-magic-ring-buffer/" rel="nofollow">https://fgiesen.wordpress.com/2012/07/21/the-magic-ring-buff...</a>
which takes it even further :)</p>
]]></description><pubDate>Thu, 26 Mar 2026 16:39:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=47532667</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=47532667</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47532667</guid></item><item><title><![CDATA[New comment by mandarax8 in "A tale about fixing eBPF spinlock issues in the Linux kernel"]]></title><description><![CDATA[
<p>Indeed I misread. I figured the NMI must have been nested or otherwise they wouldn't have gone through all this trouble just to drop samples :)</p>
]]></description><pubDate>Wed, 25 Mar 2026 11:31:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=47515941</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=47515941</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47515941</guid></item><item><title><![CDATA[New comment by mandarax8 in "A tale about fixing eBPF spinlock issues in the Linux kernel"]]></title><description><![CDATA[
<p>Not OP: how would you handle the second interrupt during the interrupt handler here then? I can see how you could use two separate ring buffers for different contexts, but I don't see how to handle the nested interrupt. Also indeed they just drop all these samples that get deadlocked.<p>Actually, as long as you use different ring buffers for interrupt/non-interrupt context, it should be fine to just drop if you encounter a deadlock due to interrupting an already running interrupt handler.</p>
]]></description><pubDate>Mon, 23 Mar 2026 08:37:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=47486763</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=47486763</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47486763</guid></item><item><title><![CDATA[New comment by mandarax8 in "A tale about fixing eBPF spinlock issues in the Linux kernel"]]></title><description><![CDATA[
<p>One thing wasn't clear for me in the article: is there only one such ringbuffer defined by the kernel or can the eBPF program specify as many ringbuffers as it wants?</p>
]]></description><pubDate>Fri, 20 Mar 2026 11:31:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=47453163</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=47453163</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47453163</guid></item><item><title><![CDATA[New comment by mandarax8 in "An interactive intro to quadtrees"]]></title><description><![CDATA[
<p>I give up, tell me the AABB trick please</p>
]]></description><pubDate>Fri, 27 Feb 2026 18:02:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=47183446</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=47183446</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47183446</guid></item><item><title><![CDATA[New comment by mandarax8 in "C++ says “We have try... finally at home”"]]></title><description><![CDATA[
<p>The entire point of the article is that you cannot throw from a destructor. Now how do you signal that closing/writing the file in the destructor failed?</p>
]]></description><pubDate>Sun, 28 Dec 2025 13:23:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=46410909</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=46410909</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46410909</guid></item><item><title><![CDATA[New comment by mandarax8 in "4 billion if statements (2023)"]]></title><description><![CDATA[
<p>Maybe we can even find some correlation in the bit pattern of the input and the Boolean table!</p>
]]></description><pubDate>Fri, 12 Dec 2025 20:57:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=46248864</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=46248864</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46248864</guid></item><item><title><![CDATA[New comment by mandarax8 in "Shaders: How to draw high fidelity graphics with just x and y coordinates"]]></title><description><![CDATA[
<p>The pixel position has to be known, how else are you rasterizing something?</p>
]]></description><pubDate>Sun, 23 Nov 2025 15:35:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=46024316</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=46024316</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46024316</guid></item><item><title><![CDATA[New comment by mandarax8 in "Apple M5 chip"]]></title><description><![CDATA[
<p>Their current OpenGL 4.1 actually does run on top of metal making it even more blatantly obvious that they just don't want to.</p>
]]></description><pubDate>Wed, 15 Oct 2025 17:33:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=45595926</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=45595926</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45595926</guid></item><item><title><![CDATA[New comment by mandarax8 in "OpenGL: Mesh shaders in the current year"]]></title><description><![CDATA[
<p>I'm not sure exactly what you mean, but you can both output line primitives directly from the mesh shader or output mitered/capped extruded lines via triangles.<p>As far as other platforms, there's VK_EXT_line_rasterization which is a port of opengl line drawing functionality to vulkan.</p>
]]></description><pubDate>Fri, 10 Oct 2025 19:30:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=45542803</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=45542803</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45542803</guid></item><item><title><![CDATA[New comment by mandarax8 in "Under the hood: Vec<T>"]]></title><description><![CDATA[
<p>That said MSVC,GCC and clang all implement it to allocate an exact value.</p>
]]></description><pubDate>Thu, 09 Oct 2025 15:05:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=45528728</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=45528728</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45528728</guid></item><item><title><![CDATA[New comment by mandarax8 in "Shipping WebGPU on Windows in Firefox 141"]]></title><description><![CDATA[
<p>Can you point me to some good middleware then? I haven't been able to find any.</p>
]]></description><pubDate>Wed, 16 Jul 2025 14:26:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=44582740</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=44582740</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44582740</guid></item><item><title><![CDATA[New comment by mandarax8 in "Parameterized types in C using the new tag compatibility rule"]]></title><description><![CDATA[
<p>Any kind of relative/offset pointers require negative pointer arithmetic. <a href="https://www.gingerbill.org/article/2020/05/17/relative-pointers/" rel="nofollow">https://www.gingerbill.org/article/2020/05/17/relative-point...</a></p>
]]></description><pubDate>Fri, 27 Jun 2025 17:14:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=44398514</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=44398514</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44398514</guid></item><item><title><![CDATA[New comment by mandarax8 in "Bzip2 crate switches from C to 100% Rust"]]></title><description><![CDATA[
<p>You can still statically link all your own code but dynamically link libc/other system dependencies.</p>
]]></description><pubDate>Wed, 18 Jun 2025 07:56:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=44307615</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=44307615</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44307615</guid></item><item><title><![CDATA[New comment by mandarax8 in "Simplest C++ Callback, from SumatraPDF"]]></title><description><![CDATA[
<p>Yeah it's a shame that to go from your idea to something that's 'general' (ie just some arbitrary arguments) you need to write this arcane garbage.</p>
]]></description><pubDate>Sun, 15 Jun 2025 21:35:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=44285131</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=44285131</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44285131</guid></item><item><title><![CDATA[New comment by mandarax8 in "Simplest C++ Callback, from SumatraPDF"]]></title><description><![CDATA[
<p>std::bind is bad for him for the same reasons std::function is bad though</p>
]]></description><pubDate>Sun, 15 Jun 2025 20:32:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=44284772</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=44284772</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44284772</guid></item><item><title><![CDATA[New comment by mandarax8 in "Simplest C++ Callback, from SumatraPDF"]]></title><description><![CDATA[
<p>What he shows here is 75% of c++26's std::function_ref. It's mainly missing variadic arguments and doesn't support all types of function objects.<p><a href="https://github.com/TartanLlama/function_ref/blob/master/include/tl/function_ref.hpp">https://github.com/TartanLlama/function_ref/blob/master/incl...</a></p>
]]></description><pubDate>Sun, 15 Jun 2025 20:24:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=44284735</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=44284735</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44284735</guid></item><item><title><![CDATA[New comment by mandarax8 in "Fun with Futex"]]></title><description><![CDATA[
<p>But you can embed this 1 byte lock into other bigger objects (eg. high bytes of a pointer).<p>With 4 byte locks your run into the exact same false sharing issues.</p>
]]></description><pubDate>Tue, 03 Jun 2025 20:05:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=44174121</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=44174121</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44174121</guid></item><item><title><![CDATA[New comment by mandarax8 in "Show HN: Hexi – Modern header-only network binary serialisation for C++"]]></title><description><![CDATA[
<p>Because the only way to do metaprogramming in C++ is via the type system. Thismakes it so you need to implement 'functions' as types.</p>
]]></description><pubDate>Fri, 28 Mar 2025 19:32:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=43509145</link><dc:creator>mandarax8</dc:creator><comments>https://news.ycombinator.com/item?id=43509145</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43509145</guid></item></channel></rss>