Oh dear, I looked on /r/programming and learned that 76 seconds is a really long time for a compiler to build itself, and that I should write posts with them in mind... well that's me told!
-
-
I wonder about this myself. I think there are a few things: - code generation for templated generics (which you can skip if you box everything) - multiple lowering stages and forms of IR - fancy inlining tricks, loop fusion, etc. Think about C++ vs Pascal or ghc vs. ocamlopt.
-
I'm imagining lots and lots of specific cases for this sort of thing, lots of different static analysis passes, etc.
- 2 more replies
New conversation -
-
-
They optimize and generate binaries. You count only type-checking :)
-
Chez Scheme bootstraps in 1 minute...
End of conversation
New conversation -
-
-
As the Edinburgh compilers course used to say "everything in a compiler front-end is polynomial, but everything in the back-end is NP-complete, and everything in the middle is uncomputable".
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.