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!
-
Show this thread
-
Replying to @edwinbrady
Hahahahaha. I got a really really beefy computer and an LLVM build still takes 10 minutes.
1 reply 0 retweets 7 likes -
Replying to @lenary
Some day I'll try to understand what it is that compilers are doing that takes so long. Mine's probably just dead simple...
3 replies 1 retweet 12 likes -
Replying to @edwinbrady @lenary
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.
1 reply 0 retweets 0 likes -
Replying to @ninjaaron_0 @lenary
I'm imagining lots and lots of specific cases for this sort of thing, lots of different static analysis passes, etc.
1 reply 0 retweets 2 likes -
LLVM also probably has a lot more code than your compiler, which contributes to its 10 minute compilation time :)
1 reply 0 retweets 1 like
That's more or less what I meant, I think. Comparing based only on lines of code is probably not very meaningful anyway.
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.