Most of us began our life-long obsession of #programming with tiny, simple algor...

@AmenZwa@mathstodon.xyz

Most of us began our life-long obsession of #programming with tiny, simple algorithms of lists, trees, and matrices. Soon, we graduated to amortised data structures, NP-complete approximation algorithms, and neural network simulators.

Eventually, we tackled larger systems, like 3D rendering pipeline, DSP library, and analogue circuit simulator. Before GitHub, before the Web, such an endeavour was ordinarily a single-person activity, guided by a well-written textbook. One learned both theory and practice at once, from such efforts.

In CS history, the following one-person works had yielded lasting, estimable successes:

• Thompson (UNIX), Tanenbaum (MINIX), Comer (XINU), and many others had demonstrated that one programmer could implement a fully functional operating system kernel.
• Russell (LISP), Ritchie (C), Moore (Forth), and many others had demonstrated that one programmer could implement a general purpose programming language.

Torvalds (Linux) is not mentioned above, because he started from a complete, working MINIX system. And Straustrup (C++) is not mentioned above, because his Cfront transpiled C++ to C, using the existing C compiler as the backend. But such shortcuts were smart, valid choices, too.

If you are a young #CS undergrad interested in large-system work, this traditional, one-person, from-scratch trek is still the Gold Standard. But do not just tweak an existing repo or generate the code with AI.

If #AI is your thing, by all means, implement toy CNN, RNN, LSTM, or LLM, straight out of seminal papers. But do not just call TensorFlow, PyTorch, or another API.

Useful heuristics:

• Good textbook
• Desire to learn from foundation, up
• ~10K-line original code
• ~1 year