3 ms·
Turbo Pascal was so fast mostly because of not compiler but linker and .tpu files format. edit: s/tpl/tpu/ btw, the tp linker - http://turbopascal.org/linking
by snaky 13y ago
Turbo Pascal was so fast mostly because of not compiler but linker and .tpu files format.
edit: s/tpl/tpu/
btw, the tp linker - http://turbopascal.org/linking-modules-and-creating-exe-file http://turbopascal.org/linking-modules-and-creating-exe-file
- justin66 13y agoWhich is an interesting point... I'm pretty sure Go has more in common with TP than ordinary C wrt linking, relying on modules, and using static binaries. http://prog21.dadgum.com/47.html http://prog21.dadgum.com/47.html edit: in fact a number of the things that Rob Pike has brought up in talks reminded me of that article
- _ak 13y agoIIRC, the compiler was single-pass, and thus, quite fast.
- vidarh 13y agoMost older Pascal compilers were, as most (all?) of Wirth's languages are explicitly designed to make single pass compilation easy.
- pjmlp 13y agoAnd it used modules.