4 ms·
I was happy to read this... it seems to me that adding a compiler optimization that in turns makes the compiler significantly faster must be some kind of thrill
by davidgrenier 11y ago
I was happy to read this... it seems to me that adding a compiler optimization that in turns makes the compiler significantly faster must be some kind of thrill in itself.
- nicklaf 11y agoI am told that Niklaus Wirth only allowed for compiler optimizations in which the optimizations paid for themselves in speed, when compiling the compiler. This is said to be the reason for the Oberon compiler's speed. [1] I have only skimmed Dybvig's paper on Chez Scheme, but I think it would be interesting to compare the speed of a compiler that uses Dybvig's nanopass framework [2], and a compiler optimized according to Wirth (using only a single pass). [1] https://books.google.com/books?id=6kHs4s-79bkC&lpg=PA44&ots=B3uRPNfAJB&dq=wirth%20compiler%20faster&pg=PA43#v=onepage&q=wirth%20compiler%20faster&f=false https://books.google.com/books?id=6kHs4s-79bkC&lpg=PA44&ots=... [2] http://www.cs.indiana.edu/~dyb/pubs/nano-jfp.pdf http://www.cs.indiana.edu/~dyb/pubs/nano-jfp.pdf