3 ms·
If your memory goes back this far: it's Turbo Pascal fast. :)
by justin66 14y ago
If your memory goes back this far: it's Turbo Pascal fast. :)
- snaky 14y agoTurbo 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 14y 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 14y agoIIRC, the compiler was single-pass, and thus, quite fast.
- vidarh 14y agoMost older Pascal compilers were, as most (all?) of Wirth's languages are explicitly designed to make single pass compilation easy.
- pjmlp 14y agoAnd it used modules.
- pacala 14y agoHaha, you've just sold me. I'm switching to Go for my next project :)
- icelancer 14y agoI've been reading this thread trying to find a reason to switch to Go. Then I read this comment and it brought back some very good memories (TP was my first language after command-line BASIC on the Apple IIe and TRS-80). Sigh. Looks like I have a new weekend project!