logoalt Hacker News

MobiusHorizonslast Thursday at 8:52 PM1 replyview on HN

Be that as it may, many C compilers are still an order of magnitude faster than LLVM. Probably the best example is tcc, although it is not the only one. C is a much simpler language than rust, so it is expected that compilation should take less time for C. That doesn’t mean llvm isn’t a significant contributor to compilation speed. I believe cranelift compilation of rust is also much faster than the llvm path


Replies

unclad5968last Thursday at 9:44 PM

> That doesn’t mean llvm isn’t a significant contributor to compilation speed.

That's not what I said. I said it's unlikely that fast compilation cannot be achieved while using LLVM which, I would argue, is proven by the existence of a fast compiler that uses LLVM.