Viewing profile — gallier2
gallier2
HN member- Joined
- Tue, Jan 07, 2020, 12:17 PM UTC
- HN karma
- 139
- Public activity
- 61 items
- HN profile
- View on Hacker News ↗
About gallier2
No profile information was provided.
Recent public activity
-
comment
Comment #44483801
D has them both
-
comment
Comment #44483792
.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. } …
-
comment
Comment #44483456
What makes the choice of for template parameter bad appears when someone tries to nest templates. a > and now a means greater becomes a shift right. That's one of the reason that i…
-
comment
Comment #44483349
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 fr…
-
comment
Comment #43258524
D such a fantastic language.
-
comment
Comment #41269451
Apple /// was 2MHz and it was a disaster.
-
comment
Comment #40330167
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 ove…
-
comment
Comment #39059588
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.
-
comment
Comment #38519162
NEC V20/V30 not that much but 80186 and all their specialized embedded variants from Intel (80186EA/EB/EC) and AMD (Am186EM ) were extremely appreciated as it allowed to use normal…
-
comment
Comment #38519102
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 t…
-
comment
Comment #38516523
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 …
-
comment
Comment #38348896
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 betwe…
-
comment
Comment #37818480
and 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).
-
comment
Comment #37818468
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.
-
comment
Comment #37818440
For bool it's even worse.
-
comment
Comment #37803626
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…
-
comment
Comment #36829270
Philips was a big proponent of MSX.
-
comment
Comment #35917513
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 s…
-
comment
Comment #35827491
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 fron…
-
comment
Comment #35827438
D from Walter Bright took that problem head on and solved it quite nicely. https://digitalmars.com/articles/C-biggest-mistake.html https://dlang.org/articles/d-array-article.html
-
comment
Comment #35231592
The calculators they have today in high-school here (France) use Python as programming interface (TI-83 Premium)
-
comment
Comment #35080966
He appeared also several times in TV in his late years and it was always a delight. He was more a painter as a scientist in his late years but always funny and very nice.
-
comment
Comment #34868247
Compound literals are anonymous variables, i.e. like variables except that there is no label visible in the C program. If you look at the assembly you'll see that they are declared…
-
comment
Comment #34859699
Cool. Two of the tricks shown are from my contribution in stackoverflow.
-
comment
Comment #34301679
Tell me you haven't read the paper without saying you haven't read it.