<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: phire</title><link>https://news.ycombinator.com/user?id=phire</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 21 Jul 2026 19:36:25 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=phire" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by phire in "Hyprland 0.55 announced the switch to Lua for its config files"]]></title><description><![CDATA[
<p>It looks like the previous hyprland config language was already getting close to being Turing complete;<p>Already has variable substitution and math, it seems to falls short of Turing completeness only because I don't see any form of recursion. But recursion is something it could accidentally gain if someone decided to add templating to the language.<p>Besides, looks the config files can call out to external executables, which absolutely are Turing complete. And moving to lua might actually simplify configs by allowing more things to be done inside the config system, rather than calling out.</p>
]]></description><pubDate>Mon, 20 Jul 2026 23:05:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=48986001</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48986001</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48986001</guid></item><item><title><![CDATA[New comment by phire in "The Zilog Z80 has turned 50"]]></title><description><![CDATA[
<p><i>> some of the complex load/store ops, which are usually cracked</i><p>Ah, cracking. Another thing the RISC-V ISA will try to avoid at all costs.<p><i>> I don't think they would've added 3r1w if it wasn't for the complex load/stores.</i><p>Agreed. The complex load/store addressing is one of the fundamental parts of the original ARM design, and IMO the only one that really survived into AArch64 unscathed.<p>It actually needs to be 3r2w so that it can writeback both the updated base register and memory value for indexed loads.<p>And if you already need 3r2w (or to emulate it via cracking), might as well add other instructions to take advantage of it.<p><i>> I think it's a fine way to design an ISA</i><p>Really depends on what the design criteria are. If the goal is to create a <i>"better MIPS"</i> or <i>"Easy to implement ISA, great for education"</i> or <i>"Optimised for low-transistor classic-RISC pipelines"</i>, then avoiding flags is a great idea.<p>And a good idea to avoid cracking, it just adds complexity and pushes you away from that "RISC purity". TBH, I'm a little surprised they got rid of branch delay slots, but I guess they really confuse people writing assembly (or compilers).<p>In many ways RISC-V is a great ISA, the extendability and openness is unparalleled and it does actually deliver on scaling all the way from ultra-low transistor designs, all the way up to high-performance out-of-order cores.<p>But if the design criteria is <i>"An Open ISA optimised for the modern era"</i>, then I think RISC-V falls short. And the choice to avoid flags is one of the many minor issues that add up to making RISC-V sub-optimal for higher-end μarches.</p>
]]></description><pubDate>Sun, 19 Jul 2026 22:38:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=48972329</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48972329</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48972329</guid></item><item><title><![CDATA[New comment by phire in "The Zilog Z80 has turned 50"]]></title><description><![CDATA[
<p>Well, cmov is absolutely possible without flags. You see such "select" instructions all the time on GPUs. Doesn't even require an extra instruction, cmp + cmov is two instructions, seqz + select is two.<p>But it does require three input registers. One for a control value, plus the two options. And RISC-V has a thing about not requiring three input registers.... Yeah, I'm not a fan of RISC-V.<p>One of the other major advantages of flags is it allowed for a cheap third input to certain instructions (like cmov, adc, ccmp), without requiring a full 3R1W register file.<p>The fact that it's possible to design a viable ISA without flags is really neat, it was absolutely worth trying.  But MIPS already proved it was possible, and showed all the downsides, it did not need to be tried a second time with RISC-V.</p>
]]></description><pubDate>Sun, 19 Jul 2026 12:15:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=48967458</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48967458</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48967458</guid></item><item><title><![CDATA[New comment by phire in "The Zilog Z80 has turned 50"]]></title><description><![CDATA[
<p>Huh, it does have CLZ on all ALUs (And CLZ can actually be used to reduce the cost of checking for all zeros).<p>So it must be something about limiting the complexity of the flags register file and/or its bypass network.<p><i>> But I hadn't considered the ISA design option of only carry flag, no seperate cmp and branch, before.</i><p>Well, RISC-V does have a decent point: Most of the time you simply don't need flags. The only area this approach falls apart is detecting overflow or add-with-carry.<p>So, why not just cover that flaw by adding a carry/overflow flag.<p>The counter-argument is that as soon has you <i>"ruin the purity of the design"</i> by adding one flag, you might as well add the complete set of all four. Then you can simply branch instruction encodings, and use the extra bits for something else (like seperate set-flags versions of all the ALU instructions)</p>
]]></description><pubDate>Sun, 19 Jul 2026 08:20:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=48965979</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48965979</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48965979</guid></item><item><title><![CDATA[New comment by phire in "The Zilog Z80 has turned 50"]]></title><description><![CDATA[
<p><i>> That allows the parallel execution of up to 8 instructions per cycle, even without register renaming</i><p>Though, PowerPC implementations (like the PowerPC 750) do have renaming of condition registers, which allows them to speculatively execute CR write instructions (though the PowerPC 750 can't speculatively read a CR, it can only speculate one branch at a time).<p>But I suspect other justification for renaming CRs, is that register renaming is actually how the PowerPC designs from that era handled hazard detection and result forwarding (and maybe why such designs only a few renaming registers, six GPRs and six FPRs on the 750)</p>
]]></description><pubDate>Sun, 19 Jul 2026 00:41:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=48963898</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48963898</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48963898</guid></item><item><title><![CDATA[New comment by phire in "The Zilog Z80 has turned 50"]]></title><description><![CDATA[
<p>I wonder if the issue is actually the cost of calculating the flags.<p>N and C are basically free (copy of bit 63, and it's carry out), V is an extra gate or two, but Z requires a full 64-bit wide NOR gate.<p>Or it might be about making the register file holding the flags smaller (only 3R3W, instead of 6R6W), along with simplifying the associated bypass network and routing (the first three ALUs are also the only units that can consume flags).<p>When I say ooo cpus get flag handling for "essentially free", I'm only actually talking about the complexity of tracking "implicit state", and that it can be done without extra latency. You still need to spend transistors to support renaming flags, and to actually calculate and storing the flags.<p>I can see an argument for an ISA that got rid of the N and Z flags, but kept C/V (potentially merged into a single flag). You can trivially reconstruct N/Z from the result register, but not C/V.</p>
]]></description><pubDate>Sat, 18 Jul 2026 22:45:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=48963213</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48963213</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48963213</guid></item><item><title><![CDATA[New comment by phire in "The Zilog Z80 has turned 50"]]></title><description><![CDATA[
<p>True, and I wouldn't be surprised if modern x86 implementations need to do something a bit smarter.<p>But if you are designing a new ISA for the modern era (the purported selling point of RISC-V), you just don't implement any such instructions. Only implement clean instructions that update all the flags or none. ARM and PowerPC already did this 35-40 years ago.</p>
]]></description><pubDate>Sat, 18 Jul 2026 11:20:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=48956989</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48956989</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48956989</guid></item><item><title><![CDATA[New comment by phire in "The Zilog Z80 has turned 50"]]></title><description><![CDATA[
<p>IMO, the "out-of-order performance/complexity" excuse is complete bullshit.<p>Out-of-order pipelines actually have a really elegant way of handling flags, they just store a copy of the flags register on every ROB entry. During renaming, instructions that consume flags just gain an extra implicit input pointing to the ROB that will contain the correct flags.<p>Such pipelines already need deal with so much serialised state. The flags are actually one of the easier things to deal with, they basically get support for free when they implement register renaming.<p>It's actually the "classic RISC" style in-order pipelines where flags are annoying to deal with. They pipelines don't need to do any register renaming, so they don't have a free solution to handle flags. And the RISC-V ISA is very much optimised for these simpler pipelines.</p>
]]></description><pubDate>Sat, 18 Jul 2026 11:02:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=48956893</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48956893</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48956893</guid></item><item><title><![CDATA[New comment by phire in "GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years"]]></title><description><![CDATA[
<p>Not really. Generally we use "Local Privilege Exploit" to describe an exploit that goes from a reasonably normal user privileges to root privileges.<p>And we don't usually worry about them, because an application with normal user privileges can already to so much damage.<p>But this exploit can be triggered from inside a tightly sandboxed process, such as firefox's isolated browser process. Which means the attacker now only needs to chain two exploits together: One javascript exploit to get local code execution in an isolated sandbox, and this one to jump all the rest of the way to kernel mode.<p>Which means, you should update both firefox, and your linux kernel.</p>
]]></description><pubDate>Mon, 13 Jul 2026 07:57:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=48889311</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48889311</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48889311</guid></item><item><title><![CDATA[New comment by phire in "Physical disc production ending in Jan 2028 for new games on PlayStation"]]></title><description><![CDATA[
<p>UHD bluray isn't really a new physical format. It's the exact same physical format as regular bluray. They didn't change a thing except move some previously optional parts of the bluray spec (like three layer discs, and 33GB per layer) to being compulsory.<p>I don't think we have ever seen something like it before. A  new media format that breaks backwards compatibility, yet uses the exact same physical medium as the previous version.  Some people did attempt it with HD movies on DVD, but the attempt failed so badly I don't think it even counts.<p>Its very existence was a very strong signal Bluray would be the last optical disc format. And the launch of the PS5 without a new optical confirmed it.</p>
]]></description><pubDate>Wed, 01 Jul 2026 15:59:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=48748979</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48748979</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48748979</guid></item><item><title><![CDATA[New comment by phire in "Asahi Linux 7.1 Progress Report"]]></title><description><![CDATA[
<p>Yeah, it's much closer to SPI.<p>The reason why they both follow the same naming scheme is that Philips Semiconductor (now NXP) made both.</p>
]]></description><pubDate>Wed, 01 Jul 2026 13:58:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=48746898</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48746898</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48746898</guid></item><item><title><![CDATA[New comment by phire in "Physical disc production ending in Jan 2028 for new games on PlayStation"]]></title><description><![CDATA[
<p>TBH, 100% offline gaming has been problematic since day-one patches became the norm in the PS3 era. Sure, you might be play version 1.0 of the game from the disc, but often the experience was pretty compromised without the patch, often very buggy, or sometimes even features missing.<p>And the PS5 is meant to be able to play digitally downloaded while disconnected (at least the ones you own, not the PS+ games). It's just the implementation is little buggy, it sometimes breaks for some people and you get a bunch of vocal people complaining about how it doesn't work.<p>So IMO, you aren't losing much there. The digital-only experience isn't that different from needing to have internet to download a day-one patch.<p>It's the used game sales that are the biggest loss from this move.</p>
]]></description><pubDate>Wed, 01 Jul 2026 13:42:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=48746646</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48746646</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48746646</guid></item><item><title><![CDATA[New comment by phire in "Physical disc production ending in Jan 2028 for new games on PlayStation"]]></title><description><![CDATA[
<p>That's part of what I was thinking. The idea of digital-only must be very attractive for content owners, so I don't think they will put much effort into preventing that outcome.</p>
]]></description><pubDate>Wed, 01 Jul 2026 13:37:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=48746562</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48746562</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48746562</guid></item><item><title><![CDATA[New comment by phire in "Physical disc production ending in Jan 2028 for new games on PlayStation"]]></title><description><![CDATA[
<p>With this news, I have to wonder how much longer bluray will live.<p>Will we continue seeing new bluray releases of movies and TV shows for decades, or are their days numbered?<p>The loss of console gaming presumably removes a guaranteed revenue source that was keeping Bluray pressing plants alive.<p>Sales of DVDs and Bluray have been declining for years <i>[1]</i> <i>[3]</i>. Some people have been excited pushing the news that  UHD bluray sales increased in 2025, <i>[2]</i> but that ignores the fact that the total optical sales still dropped.<p><i>[1] <a href="https://www.flatpanelshd.com/news.php?subaction=showfull&id=1739948166" rel="nofollow">https://www.flatpanelshd.com/news.php?subaction=showfull&id=...</a></i><p><i>[2] <a href="https://www.flatpanelshd.com/news.php?subaction=showfull&id=1772040307" rel="nofollow">https://www.flatpanelshd.com/news.php?subaction=showfull&id=...</a></i><p><i>[3] This article has a more complete graph: <a href="https://www.statsignificant.com/p/the-rise-fall-and-slight-rise-of-b06" rel="nofollow">https://www.statsignificant.com/p/the-rise-fall-and-slight-r...</a></i></p>
]]></description><pubDate>Wed, 01 Jul 2026 13:06:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=48746107</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48746107</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48746107</guid></item><item><title><![CDATA[New comment by phire in "Sandia National Labs SA3000 8085 CPU"]]></title><description><![CDATA[
<p>There isn't really a minimum production run for silicon chips, they do small test runs all the time to test new designs.<p>At least not from a practical perspective.<p>From an economic perspective, stopping after a single small run is just wasteful. The upfront design costs are so high, and the per wafer costs are so slow that you might as well make a lot extra. Maybe you can find a use for them, or sell them to someone else.</p>
]]></description><pubDate>Mon, 29 Jun 2026 14:18:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=48719600</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48719600</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48719600</guid></item><item><title><![CDATA[New comment by phire in "Long Wave radio era set to end with switch-off"]]></title><description><![CDATA[
<p>This transmitter doesn't really have the range for reliable global communication, it's optimised for covering the UK. For the global communication usecase, there are other networks of military transmitters (DHFCS) that are much better suited for the job, and they aren't being shut down any time soon.<p>What it did provide was a simple but reliable way to maintain emergency broadcast to general public within Britain. And it probably should have been kept online just for that reason.</p>
]]></description><pubDate>Sat, 27 Jun 2026 08:08:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=48696194</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48696194</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48696194</guid></item><item><title><![CDATA[New comment by phire in "An Embedded Linux on a Single Floppy"]]></title><description><![CDATA[
<p>This floppy decompresses the entire initrd image into memory at boot, which "wastes" memory compared a proper install on a HDD. You can also lower memory requirements further by enabling swap.<p>A floppy distro (especially one relying on a compressed initrd) will inherently require more memory. And I suspect the maker of this distro is using a different definition of "minimum" than we would have used back in the 90s (closer to "recommended").<p>However, it looks like modern linux kernels just require more memory; The kernel binary is certainly larger, floppinux is spending an entire 888KB on it's very stripped down modern linux (doesn't even have networking enabled), while older floppy distros using 2.2/2.4 kernels keep it under 512KB (with networking, and a bunch of other features.</p>
]]></description><pubDate>Mon, 22 Jun 2026 05:39:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=48626152</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48626152</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48626152</guid></item><item><title><![CDATA[New comment by phire in "Unauthorized alert sent to cell phones across Brazil"]]></title><description><![CDATA[
<p>Apparently can’t in NZ either.<p>There was a scheduled test last weekend, and I disabled the single “emergency alert” option in my iPhone’s settings. But it didn’t work, I still received the alert, complete with the heart attack inducing sound.</p>
]]></description><pubDate>Sun, 21 Jun 2026 11:57:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=48618137</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48618137</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48618137</guid></item><item><title><![CDATA[New comment by phire in "Semiconductor Lifeline Keeps Fighter Jets in the Air"]]></title><description><![CDATA[
<p>Still are.<p>The latest IBM z/Architecture mainframe (released in 2024) will natively run binaries compiled for the original IBM System/360, released 62 years ago.<p>The original architecture has been expanded to 64 bits and can (or should) run linux with older code in virtualization.<p>However, those mainframes are extremely high performance, high reliably, and high cost. Complete overkill for many companies, who can get away with much simpler/cheaper emulations of the System/360 from 3rd parties, or source code ports to more modern architectures.</p>
]]></description><pubDate>Sun, 21 Jun 2026 04:25:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=48615671</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48615671</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48615671</guid></item><item><title><![CDATA[New comment by phire in "A brief tour of the PDP-11, the most influential minicomputer of all time (2022)"]]></title><description><![CDATA[
<p>PDP's lack of naming really confuses things, they essentially just numbered the computers by release date.<p>There are like 3-5 completely different family trees of computers in their numbering scheme (depending on how you count), all of them are notable in some way.</p>
]]></description><pubDate>Wed, 17 Jun 2026 08:17:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=48567359</link><dc:creator>phire</dc:creator><comments>https://news.ycombinator.com/item?id=48567359</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48567359</guid></item></channel></rss>