3 ms·
Swift, on a typical project, will do around 20. Not K, just lines/sec. To compare a historical compiler with your Swift numbers: In 1989, Turbo C compiled 16K
by IncRnd 8y ago
Swift, on a typical project, will do around 20. Not K, just lines/sec.
To compare a historical compiler with your Swift numbers: In 1989, Turbo C compiled 16K lines per minute on a ho-hum machine. The computers today, 30 years later, are more than 60x faster, so one would expect compilation speeds exceeding 16k per second of swift code. Turbo Pascal compiled about twice as fast as Turbo C at the time.
- vintagedave 8y agoDelphi (Turbo Pascal's successor) today does a million in four seconds, or about 250k / sec. https://youtu.be/Yq2mNUzcpE0?t=146 https://youtu.be/Yq2mNUzcpE0?t=146
- IncRnd 8y agoThat's four orders of magnitude greater than 20 loc/sec.
- AboutTheWhisles 8y ago60x faster? Today's computers are closer to 1000x faster.
- IncRnd 8y agoThat was my point. There are 60 seconds in a minute.