
Speed up a program for the 50 years old processor by 180000%
Introduction In the previous year, I wrote the program, running on Intel’s first microprocessor – 4004, that computes the first 255 digits of π. But, unfortunately, I was not able to beat ENIAC’s achievement with 2035 computed digits 1. So let’s continue our journey. I picked the successor of 4004 – Intel’s 4040. This CPU…

Calculating Pi digits on first Intel microprocessor (intel 4004)
Introduction One day I thought about the performance gap between the first Intel processor and modern machines. Of course, we can try to do some estimations empirically – we know clock rate and how the pipeline is organized and what features intel 4004 CPU has (but it would not be standard FLOPS, because there was…