5 ms·
I lived through the early 90s, when Borland's Turbo Pascal and later Delphi, compiled programs in a fraction of a second. It proved empirically, that compilati
by delian66 6y ago
I lived through the early 90s, when Borland's Turbo Pascal and later Delphi, compiled programs in a fraction of a second.
It proved empirically, that compilation does not need to be slow, if the language is simple and carefully designed. Go is also a good example.
Computers are now several orders of magnitude more powerful.
We do NOT have to wait for compilation of simple programs in 2020. In my opinion, waiting is more of a symptom of the current obsession with optimization, and disregard for ergonomics, than a fundamental CS result that is set in stone. Compare for example compiling a program with gcc and tcc (without optimizations, so that they are on equal grounds, because tcc does not strive to do optimizations, but strives to be fast and tiny) .
tcc is usually 4-5 times faster.