I wrote this program in 2023 with the intention of answering the problem that would eventually arise:
Q: How to onboard software engineers into an AI tech stack?.
A: There should be a small program, using a universally understood language, that could describe the core attributes/features of what the 2020s AI run is all about.
In the process, I learnt "AI" from first principles. The original gist can be found here:
Use any C compiler you want.
Clang:
clang ./double.c -o ./double.exe
GCC:
gcc ./double.c -o ./double.exe
Usage:
└─$ ./double.exe
Computed Weight: 1.999501
Estimate double of 10: 19.995007
Sample size: 5
MIT