This is a card in Dave's Virtual Box of Cards.

Porting Software

Created: 2022-09-17 Updated: 2022-10-19

I have just discovered the educational power of porting software. Everyone says you should read other people’s source code, but I have found that to be hard to do in practice. For one thing, it’s boring. For another, it’s easy to fool yourself into understanding it. A port can teach you several things at once:

This was the case for nasmjf in which I learned Forth, how a Forth interpreter works, NASM assembly, and a fair bit of GAS assembly.

The next thing I want to port is sed.