Hacker News new | ask | show | jobs
by acqq 2857 days ago
The "C translation" of the program by the article author:

https://gist.github.com/sinclairtarget/ad18ac65d277e453da5f4...

It's definitely far from being trivial!

Also note the use of floats in the C version. A lot of simpler CPUs didn't and still don't have floats.

Fascinatingly, the Analytical Engine's number representation was 40 digits (and later: 50)(!) base 10 (but not "floating" but "fixed" point):

https://www.fourmilab.ch/babbage/authentic.html

Moreover, a lot of simpler CPUs also don't have the "division" in the "instruction set", the Engine has it!

Given the emulator already existing, maybe somebody will now create the cards from Lovelace's program, and run it as intended?

https://www.fourmilab.ch/babbage/emulator.html

1 comments

In case anyone missed it, these last two articles were written by John Walker. Founder of Autodesk, Inc. and co-author of AutoCAD.