<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: haqreu</title><link>https://news.ycombinator.com/user?id=haqreu</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 10 Sep 2026 21:57:37 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=haqreu" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by haqreu in "Rendering graphics in 500 lines of bare C++"]]></title><description><![CDATA[
<p>nope, not mine</p>
]]></description><pubDate>Tue, 06 Jan 2026 13:30:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=46511989</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=46511989</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46511989</guid></item><item><title><![CDATA[New comment by haqreu in "Tinyrenderer second edition: software rendering in 500 lines of bare C++"]]></title><description><![CDATA[
<p>A full rewrite to the computer graphics course.</p>
]]></description><pubDate>Sat, 30 Aug 2025 19:32:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=45077338</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=45077338</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45077338</guid></item><item><title><![CDATA[Tinyrenderer second edition: software rendering in 500 lines of bare C++]]></title><description><![CDATA[
<p>Article URL: <a href="https://haqr.eu/tinyrenderer/">https://haqr.eu/tinyrenderer/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=45077337">https://news.ycombinator.com/item?id=45077337</a></p>
<p>Points: 20</p>
<p># Comments: 2</p>
]]></description><pubDate>Sat, 30 Aug 2025 19:32:02 +0000</pubDate><link>https://haqr.eu/tinyrenderer/</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=45077337</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45077337</guid></item><item><title><![CDATA[New comment by haqreu in "TinyCompiler: A compiler in a week-end"]]></title><description><![CDATA[
<p>I'll definitely test maximal SSA + DCE in tinyoptimizer when I'll get to it. For the moment I made [1] somewhat-pruned mem2reg pass, not even sure how to call it. But it indeed required to compute dominance frontiers.<p>[1] <a href="https://ssloy.github.io/tinyoptimizer/mem2reg/" rel="nofollow">https://ssloy.github.io/tinyoptimizer/mem2reg/</a></p>
]]></description><pubDate>Fri, 21 Feb 2025 11:55:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=43126514</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=43126514</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43126514</guid></item><item><title><![CDATA[New comment by haqreu in "TinyCompiler: A compiler in a week-end"]]></title><description><![CDATA[
<p>I removed it, no need to offend people with racial slur, especially when it is not intended.</p>
]]></description><pubDate>Fri, 21 Feb 2025 11:14:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=43126280</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=43126280</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43126280</guid></item><item><title><![CDATA[New comment by haqreu in "TinyCompiler: A compiler in a week-end"]]></title><description><![CDATA[
<p>Hum. Did not anticipate that, thank you for pointing out.</p>
]]></description><pubDate>Fri, 21 Feb 2025 10:48:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=43126141</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=43126141</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43126141</guid></item><item><title><![CDATA[New comment by haqreu in "TinyCompiler: A compiler in a week-end"]]></title><description><![CDATA[
<p>Thank you!</p>
]]></description><pubDate>Fri, 21 Feb 2025 10:40:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=43126071</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=43126071</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43126071</guid></item><item><title><![CDATA[New comment by haqreu in "TinyCompiler: A compiler in a week-end"]]></title><description><![CDATA[
<p>Thank you for the reference, I'll check it.<p>Why not fully maximal SSA + DCE? I mean, other than timings consideration.
Fully maximal does not even need any graph traversal, it is entirely local to each block.</p>
]]></description><pubDate>Fri, 21 Feb 2025 10:04:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=43125856</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=43125856</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43125856</guid></item><item><title><![CDATA[New comment by haqreu in "TinyCompiler: A compiler in a week-end"]]></title><description><![CDATA[
<p>I'd argue that Lengauer-Tarjan is overrated. While it is neat, it's premature optimization IMHO. Fully maximal SSA (at the entry of each block insert a phi-node for each variable) + dead code elimination (we need it anyways) is much simpler.</p>
]]></description><pubDate>Fri, 21 Feb 2025 07:15:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=43124921</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=43124921</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43124921</guid></item><item><title><![CDATA[New comment by haqreu in "TinyCompiler: A compiler in a week-end"]]></title><description><![CDATA[
<p>The "week-end" part refers to the fact that I wrote it in one week-end with little to no experience in compiler design.
You can check the commit history, 12 to 14 Jan, 2024 :)</p>
]]></description><pubDate>Thu, 20 Feb 2025 23:54:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=43122193</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=43122193</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43122193</guid></item><item><title><![CDATA[New comment by haqreu in "TinyCompiler: A Compiler in a Week-End"]]></title><description><![CDATA[
<p>Have you ever wondered how a compiler works, but you never found courage to find out? Then this series of articles is for you.</p>
]]></description><pubDate>Wed, 19 Feb 2025 21:51:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=43108217</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=43108217</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43108217</guid></item><item><title><![CDATA[TinyCompiler: A Compiler in a Week-End]]></title><description><![CDATA[
<p>Article URL: <a href="https://ssloy.github.io/tinycompiler/">https://ssloy.github.io/tinycompiler/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=43108216">https://news.ycombinator.com/item?id=43108216</a></p>
<p>Points: 5</p>
<p># Comments: 1</p>
]]></description><pubDate>Wed, 19 Feb 2025 21:51:25 +0000</pubDate><link>https://ssloy.github.io/tinycompiler/</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=43108216</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43108216</guid></item><item><title><![CDATA[New comment by haqreu in "Building a ternary computer at home: a software emulator"]]></title><description><![CDATA[
<p>Here is the schematics:<p><a href="https://hsto.org/webt/4a/mb/ad/4ambad_bocdk6_0khdqve6grzjs.png" rel="nofollow">https://hsto.org/webt/4a/mb/ad/4ambad_bocdk6_0khdqve6grzjs.p...</a><p>two ternary multiplexers out of two dg403 chips.</p>
]]></description><pubDate>Mon, 13 Apr 2020 17:18:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=22857757</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=22857757</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22857757</guid></item><item><title><![CDATA[New comment by haqreu in "Building a ternary computer at home: a software emulator"]]></title><description><![CDATA[
<p>AFAIK it was never built, only partially designed.</p>
]]></description><pubDate>Mon, 13 Apr 2020 12:33:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=22855258</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=22855258</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22855258</guid></item><item><title><![CDATA[Penny, a 10 Bucks Hexapod]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/ssloy/penny">https://github.com/ssloy/penny</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=22855143">https://news.ycombinator.com/item?id=22855143</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Mon, 13 Apr 2020 12:16:35 +0000</pubDate><link>https://github.com/ssloy/penny</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=22855143</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22855143</guid></item><item><title><![CDATA[New comment by haqreu in "Building a ternary computer at home: a software emulator"]]></title><description><![CDATA[
<p>This is ROM only, not a fully functioning computer.</p>
]]></description><pubDate>Mon, 13 Apr 2020 11:16:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=22854802</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=22854802</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22854802</guid></item><item><title><![CDATA[New comment by haqreu in "Building a ternary computer at home: a software emulator"]]></title><description><![CDATA[
<p>Fun!</p>
]]></description><pubDate>Mon, 13 Apr 2020 10:40:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=22854608</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=22854608</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22854608</guid></item><item><title><![CDATA[New comment by haqreu in "Building a ternary computer at home: a software emulator"]]></title><description><![CDATA[
<p>Setun is the only example, and it had a binary memory.</p>
]]></description><pubDate>Mon, 13 Apr 2020 10:21:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=22854528</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=22854528</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22854528</guid></item><item><title><![CDATA[Building a ternary computer at home: a software emulator]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/ssloy/triador">https://github.com/ssloy/triador</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=22854022">https://news.ycombinator.com/item?id=22854022</a></p>
<p>Points: 153</p>
<p># Comments: 30</p>
]]></description><pubDate>Mon, 13 Apr 2020 08:14:22 +0000</pubDate><link>https://github.com/ssloy/triador</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=22854022</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22854022</guid></item><item><title><![CDATA[DIY: Penny, a Ten Bucks Hexapod]]></title><description><![CDATA[
<p>Article URL: <a href="https://youtu.be/quMe5CEoOok">https://youtu.be/quMe5CEoOok</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=22370936">https://news.ycombinator.com/item?id=22370936</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 19 Feb 2020 22:48:21 +0000</pubDate><link>https://youtu.be/quMe5CEoOok</link><dc:creator>haqreu</dc:creator><comments>https://news.ycombinator.com/item?id=22370936</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22370936</guid></item></channel></rss>