<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: gallier2</title><link>https://news.ycombinator.com/user?id=gallier2</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 15 Apr 2026 03:02:35 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=gallier2" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by gallier2 in "Features of D That I Love"]]></title><description><![CDATA[
<p>D has them both</p>
]]></description><pubDate>Sun, 06 Jul 2025 20:34:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=44483801</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=44483801</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44483801</guid></item><item><title><![CDATA[New comment by gallier2 in "Features of D That I Love"]]></title><description><![CDATA[
<p>.init is not necessarily 0. For int it is, but for float it's NaN. For char it's 255 and for an enum, it's whatever you have decided it is. 
enum thing {
   first = -1,
   second, 
etc.
   }
This way, a variable of type thing has -1 as init value.</p>
]]></description><pubDate>Sun, 06 Jul 2025 20:33:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=44483792</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=44483792</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44483792</guid></item><item><title><![CDATA[New comment by gallier2 in "Features of D That I Love"]]></title><description><![CDATA[
<p>What makes the choice of < > for template parameter bad appears when someone tries to nest templates.<p><pre><code>     a<b<arg>> 
</code></pre>
and now a means greater becomes a shift right. 
That's one of the reason that it you had a genious ideo to find domething else in D<p>a(template params)(runtime params) at declaration 
a!(template params)(runtime params) at invocation with the type deduction and parenthesis omission making often even disappear completely the template syntax.<p>thank you</p>
]]></description><pubDate>Sun, 06 Jul 2025 19:47:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=44483456</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=44483456</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44483456</guid></item><item><title><![CDATA[New comment by gallier2 in "Features of D That I Love"]]></title><description><![CDATA[
<p>I just wrote a somewhat bigger program in D and I mostly used UFCS chains for the toString() overrides to have better debug outputs. 
There are also some idiomatic forms that are frequent like conversion 
bar = foo.to!int is much more readable than bar = to!int(foo)</p>
]]></description><pubDate>Sun, 06 Jul 2025 19:33:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=44483349</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=44483349</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44483349</guid></item><item><title><![CDATA[New comment by gallier2 in "Ask HN: What less-popular systems programming language are you using?"]]></title><description><![CDATA[
<p>D such a fantastic language.</p>
]]></description><pubDate>Tue, 04 Mar 2025 18:48:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=43258524</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=43258524</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43258524</guid></item><item><title><![CDATA[New comment by gallier2 in "The Apple IIGS Megahertz Myth"]]></title><description><![CDATA[
<p>Apple /// was 2MHz and it was a disaster.</p>
]]></description><pubDate>Fri, 16 Aug 2024 19:17:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=41269451</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=41269451</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41269451</guid></item><item><title><![CDATA[New comment by gallier2 in "It's always TCP_NODELAY"]]></title><description><![CDATA[
<p>It was not just a bandwidth issue. I remember my first encounter with the Internet was on a HP workstation in Germany connected to South-Africa with telnet. The connection went over a Datex-P (X25) 2400 Baud line. The issue with X25 nets was that it was expensive. The monthly rent was around 500 DM and each packet sent also had to been paid a few cents. You would really try to optimize the use of the line and interactive rsh or telnet trafic was definitely not ideal.</p>
]]></description><pubDate>Sat, 11 May 2024 19:39:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=40330167</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=40330167</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40330167</guid></item><item><title><![CDATA[New comment by gallier2 in "OpenD, a D language fork that is open to your contributions"]]></title><description><![CDATA[
<p>There also SDC which is an experimental D compiler not using DMD code. I don't know how complete it is but it is actively updated.</p>
]]></description><pubDate>Fri, 19 Jan 2024 19:03:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=39059588</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=39059588</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39059588</guid></item><item><title><![CDATA[New comment by gallier2 in "The 8-bit era: Eight processor designs"]]></title><description><![CDATA[
<p>NEC V20/V30 not that much but 80186 and all their specialized embedded variants from Intel (80186EA/EB/EC) and AMD (Am186EM<i>) were extremely appreciated as it allowed to use normal MS-DOS compilers and software.<p></i> Am186EM we loved that one. 100 pin PQFP with unmultiplexed bus, CMOS up to 40Mhz, including UART, SPI etc.</p>
]]></description><pubDate>Mon, 04 Dec 2023 16:20:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=38519162</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=38519162</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38519162</guid></item><item><title><![CDATA[New comment by gallier2 in "The 8-bit era: Eight processor designs"]]></title><description><![CDATA[
<p>Motorola's embedded cpu's had strange numbers that would make it difficult to recognize to which cpu family it belonged. 68705 were 6800 derived, 68302 were 68000 derived. 
As for the 6809 it l ooks like that there were no embedded derivatives of it. 68HC16 seems to be a 16 bit extended 6800 using a similar technic as 65816 to extend the 6502.</p>
]]></description><pubDate>Mon, 04 Dec 2023 16:16:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=38519102</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=38519102</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38519102</guid></item><item><title><![CDATA[New comment by gallier2 in "The 8-bit era: Eight processor designs"]]></title><description><![CDATA[
<p>In the list of applications of the 6502 architecture there is one big missing entry. Good old phone line modems using Rockwell chipsets (Hayes modem) that went up to 56Kbit/s. The central controller of the Rockwell chipset was an embedded MPU based on 65C02 kernel that were clocked to up to 75MHz (that's the fasted I had seen). The fact is relatively unknown as NDA with Rockwell were extremely tight.</p>
]]></description><pubDate>Mon, 04 Dec 2023 12:38:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=38516523</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=38516523</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38516523</guid></item><item><title><![CDATA[New comment by gallier2 in "Z80 vs. 8088 Speed"]]></title><description><![CDATA[
<p>There are also some very questionable statements in the articlle like saying that 6502 instructions only need one cycle. It's 2 to 7 in reality.
Over the years the comparison between 6502 vs Z80 tend to show that you have to clock the Z80 at about twice the frequency of the 6502 to get the same performance. 8088 having a slight edge over the Z80 it is clear that a 5 MHz will be quite faster than a 1 MHz 6502 (C64 was even under 1MHz as the VIC chip would steal some cycles every 8th display line)</p>
]]></description><pubDate>Mon, 20 Nov 2023 14:38:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=38348896</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=38348896</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38348896</guid></item><item><title><![CDATA[New comment by gallier2 in "My personal C coding style as of late 2023"]]></title><description><![CDATA[
<p>and<p><pre><code>    ubyte - 8 bits
    ushort - 16 bits
    uint - 32 bits
    ulong - 64 bits
    ucent - 128 bits
    
    float - 32 bits
    double - 64 bits
    real - maximum precision hardware allows (80 bits on x87).</code></pre></p>
]]></description><pubDate>Mon, 09 Oct 2023 09:08:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=37818480</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=37818480</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37818480</guid></item><item><title><![CDATA[New comment by gallier2 in "My personal C coding style as of late 2023"]]></title><description><![CDATA[
<p>it has defined the type for very long: it's cent and ucent. It hasn't implemented it completely though, but named and defined it is already forever.</p>
]]></description><pubDate>Mon, 09 Oct 2023 09:05:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=37818468</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=37818468</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37818468</guid></item><item><title><![CDATA[New comment by gallier2 in "My personal C coding style as of late 2023"]]></title><description><![CDATA[
<p>For bool it's even worse.</p>
]]></description><pubDate>Mon, 09 Oct 2023 09:01:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=37818440</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=37818440</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37818440</guid></item><item><title><![CDATA[New comment by gallier2 in "Why did the Motorola 68000 processor family fall out of use in PCs?"]]></title><description><![CDATA[
<p>Yes, and that was exactly my point (yes, I wrote that SO answer). The indirect addressing mode that were introduced with 68020 are insane. Most people don't know them, as they didn't exist in 68000/68010/68008 and most compilers did not implement them as they were slower to use than using simpler composed addressings.<p>It is interesting to see what Motorola cut from the instruction set when they defined the Coldfire subset (for those who don't know, the coldfire family of CPU used the same instruction set as 68000 but radically simplified, the indirect addressing methods, the BCD mode, a lot of RMW instructions, etc. were removed. The first coldfire after 68060 which was limited to 75Mhz, ran at up to 300MHz).</p>
]]></description><pubDate>Sat, 07 Oct 2023 17:26:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=37803626</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=37803626</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37803626</guid></item><item><title><![CDATA[New comment by gallier2 in "MSX-DOS"]]></title><description><![CDATA[
<p>Philips was a big proponent of MSX.</p>
]]></description><pubDate>Sat, 22 Jul 2023 19:57:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=36829270</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=36829270</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36829270</guid></item><item><title><![CDATA[New comment by gallier2 in "IBM PC 8088 replaced with a Motorola 68000"]]></title><description><![CDATA[
<p>Take an Atari ST and you can see what a m68k PC could have been. Its operating system GEMDOS was a derivative of CP/M with comparable features of MS_DOS. The syscall even use the same numbers (trap #1 calls to GEMDOS map 1:1 on int 21H MS-DOS calls).<p>This said, several hardware PC-emulators on the Atari did exactly the thing that article describes. PC-Speed added a NEC V30 that was soldered on the 68000 and could takeover the bus and the emulation only consisted on simulating the peripherals. It worked like a charm and thanks to the generous memory of the ST could even do some things better than real PC's (for example the 640K limit was in reality a 736K limit). Later versions used 286 and even 386sx cpu's.</p>
]]></description><pubDate>Fri, 12 May 2023 15:23:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=35917513</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=35917513</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35917513</guid></item><item><title><![CDATA[New comment by gallier2 in "New C features in GCC 13"]]></title><description><![CDATA[
<p>People often forget that 'ab' or '1ert' multi-char immediate are allowed in C. They are almost unusable as they are highly un-portable (because of endianess issues between the front-end and the back-end).</p>
]]></description><pubDate>Fri, 05 May 2023 10:39:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=35827491</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=35827491</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35827491</guid></item><item><title><![CDATA[New comment by gallier2 in "New C features in GCC 13"]]></title><description><![CDATA[
<p>D from Walter Bright took that problem head on and solved it quite nicely.<p><a href="https://digitalmars.com/articles/C-biggest-mistake.html" rel="nofollow">https://digitalmars.com/articles/C-biggest-mistake.html</a>
<a href="https://dlang.org/articles/d-array-article.html" rel="nofollow">https://dlang.org/articles/d-array-article.html</a></p>
]]></description><pubDate>Fri, 05 May 2023 10:31:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=35827438</link><dc:creator>gallier2</dc:creator><comments>https://news.ycombinator.com/item?id=35827438</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35827438</guid></item></channel></rss>