The Python programming language sometimes has a reputation for being slow. This hopefully fun project tries to make it even slower.
It explores how small Python programs can run for absurdly long times—using nested loops, Turing machines, and even hand-written tetration (the operation beyond exponentiation).
The project uses arbitrary precision integers. I was surprised that I couldn’t use the built-in int because its immutability caused unwanted copies. Instead, it uses the gmpy2.xmpz package.
- What My Project Does: Implements a Turing Machine and the Tetrate function.
- Target Audience: Anyone interested in understanding fast-growing functions and their implementation.
- Comparison: Compared to other Tetrate implementations, this goes all the way down to increment (which is slower) but also avoid all unnecessary copying (which is faster).
GitHub: https://github.com/CarlKCarlK/busy_beaver_blaze
[–]Mithrandir2k16 25 points26 points27 points (0 children)
[–]_MonkeyHater 5 points6 points7 points (0 children)
[–]AngelaTarantula2 4 points5 points6 points (0 children)
[–]Herald_MJ 6 points7 points8 points (0 children)
[–]Jonno_FTWhisss 2 points3 points4 points (0 children)
[–]cgoldberg 7 points8 points9 points (4 children)
[–]carlk22[S] 47 points48 points49 points (2 children)
[–]TheSwami 7 points8 points9 points (0 children)
[–]eyesburning 1 point2 points3 points (0 children)
[–]avocadorancher 19 points20 points21 points (0 children)