News for hackers. Stuff that matters.
Re:Calculating Pi on the 4004 by fortran77 on Saturday April 16, 2022 @10:46AM (#31052734)
See also Steve Wozniak's "Calculating e to 116,000 Places On An Apple ]["

https://downloads.reactivemicro.com/Users/Grant_Stockley/App...

Re:Calculating Pi on the 4004 by bluenose69 on Saturday April 16, 2022 @09:20AM (#31052093)
This is a wonderfully engaging and insightful article, giving readers a good feeling for what computing was like in the old days. Plus, there's a link to a similarly intriguing article about the ENIAC situation (see below, the PDF is available at sci hub)

Shelburne, Brian J. “The ENIAC’s 1949 Determination of π.” IEEE Annals of the History of Computing 34, no. 3 (July 2012): 44–54. https://doi.org/10.1109/MAHC.2011.61.

Re:Calculating Pi on the 4004 by hilbert42 on Saturday April 16, 2022 @10:27AM (#31052593)
Fascinating indeed. As a comparison, it would be interesting to do the same for various other processors such as, 8008, 8048, 8080, 8085, 8051, Z80, V20, 8088/86, 8086/87 combo, etc.

First we'd test these procs with a move/best fit translation of the 4004 code to 8-bit then redo the process with their additional/native instructions at 8-bit, etc.

Wishful thinking I know, but I've always wanted to know how these early procs compared against each other in raw calculating power.

Re:Calculating Pi on the 4004 by phendrenad2 on Saturday April 16, 2022 @11:38PM (#31058261)
Is the 4004 the only 4-bit CPU chip ever made? It would be neat to see an introductory digital electronics course around eventually designing one on an FPGA. It's just simple enough to stay interesting, not getting tiring like implementing a i8080 might be.
Re:Calculating Pi on the 4004 by vardump on Sunday April 17, 2022 @04:43AM (#31059486)
There are a lot of 4-bit microcontrollers, and they're still being sold. Perfect for a mass manufactured item that requires a bit of control.
Re:Calculating Pi on the 4004 by ngcc_hk on Saturday April 16, 2022 @10:50AM (#31052770)
Quite interesting. The minor issue is not using rom and ram of that era. Is the timing similar ?
Re:Calculating Pi on the 4004 by pyautogui on Saturday April 16, 2022 @06:56PM (#31056846)
Facinating article! I wonder how it would compare to, say, the PDP-8/E.
Re:Calculating Pi on the 4004 by hilbert42 on Monday April 18, 2022 @04:03PM (#31075738)
Much slower (but I'd not put a figure on it)!
Re:Calculating Pi on the 4004 by weejewel on Saturday April 16, 2022 @08:27AM (#31051760)
Next: calculating 4004 on the Pi
Re:Calculating Pi on the 4004 by jrootabega on Saturday April 16, 2022 @09:20AM (#31052094)
Pretty easy; just calculcate 4003 and then add 1. What am I missing?
Re:Calculating Pi on the 4004 by Stupulous on Saturday April 16, 2022 @11:41AM (#31053187)
Easy enough in theory. If you actually try to implement this, good luck calculating 4003 without calculating 4002 and adding one.
Re:Calculating Pi on the 4004 by jrootabega on Saturday April 16, 2022 @11:45AM (#31053230)
Oh, I calculated 4002 for my PhD, and I will just load an image from memory.
Re:Calculating Pi on the 4004 by jacquesm on Saturday April 16, 2022 @09:45AM (#31052258)
A pun.