← Back to context

Comment by jiggawatts

25 days ago

> What categories of bugs would you say we eliminated going from macro assemblers to compilers?

Entire classes of 'safety' bugs that just don't exist in modern compilers.

E.g.: forgetting to "POP" something you "PUSH"-ed, especially when it was a conditional allocation for a temporary.

Similarly, type errors were much more common, especially signed/unsigned, or accidentally overwriting things in scenarios that just don't occur even with ordinary C code. Function args were easy to push "correctly enough" that it "worked", but not really.