I think it depends. LLVM is a very large project which adds a significant overhead to your footprint. LLVM also historically has focused on "normal" (i.e. AOT) compilation so is more concerned about generating good code even if it takes a while (which isn't the main focus for MS CLR, or Mono's JIT). LLVM have improved their x86 -O0 perf, but it's still not as fast as the fast path on JIT-focused backends.
So, yeah, there's a cost. Depends what the end user is using Mono for as to whether it's worth it or not I guess.
Re:LLVM-powered Mono
by oliverkofoed on Friday July 17, 2009 @03:00AM
(#709424)
From the posting:
"This extra performance comes at a cost: it consumes more time and more memory to JIT compile using LLVM than using Mono's built-in JIT, so it is not a solution for everyone."
So, faster code but more memory usage and longer JIT time seems to be the reason why mono didn't just switch over to LLVM.
My bet is that they'd switch if LLVM supported the same features and architectures as their own, but just with better results.
Note that I'm not necessarily asking these questions rhetorically -- I don't know a lot about this technology stack and want to validate my core assumptions.