← Back to context

Comment by aabajian

4 hours ago

Hard is relative. The Apple IIe could do roughly a half-million instructions per second. Yet, application develop was long and tedious. Layers upon layers of abstraction requires more powerful CPUs, but translated into highly complex applications and user interfaces. What if we could use the LLM tools we have now to go back and see what is possible with older machines?

For example: The Python print('A') statement translates into thousands of lines of assembly (using mostly compiled libraries). The actual minimum assembly to generate a print statement is less than a hundred. Claude code can do this:

>>Generate the minimum amount of assembly code to obtain the same result as print('A') in Python.

The result is 43-bytes of machine code (it works, unsurprisingly). Claude estimates that Python requires 5 megabytes of compiled libraries to get print('A') to work.