3 ms·
I think of Knuth's old MIX which was a decimal machine which might have gotten built in the 1960s but which nobody has built since the 1970s. A system like tha
by PaulHoule 2y ago
I think of Knuth's old MIX which was a decimal machine which might have gotten built in the 1960s but which nobody has built since the 1970s. A system like that can teach you many fundamentals but not the tricks here
https://en.wikipedia.org/wiki/Hacker%27s_Delight https://en.wikipedia.org/wiki/Hacker%27s_Delight
which mainly depend on conventional numeric representations.
- kragen 2y agoMIX wasn't decimal, but rather abstract over the choice of base, a decision Knuth changed in later volumes of the series, even before switching to MMIX. There have been decimal and hybrid computers built since the 01970s (especially for pocket calculators, but new decimal instructions were still being added to Intel's lineup in the 8086 with AAM and AAD, and I think decimal continued to be a consideration for the AS/400 into the 90s), but MIX is really kind of an 01950s design, with: - word-addressed memory - five bytes per word (plus a sign bit) - one word per instruction - six bits per byte (in binary realizations) - possible decimal - a single accumulator - sign-magnitude - no stack, and - a nonrecursive subroutine call convention relying on self-modifying code. You can find one or another of these characteristics in machines designed since 01960, but the combination looked old-fashioned already when it was introduced.