3 ms·
> Who still writes backends from scratch nowadays (i.e. after ~2010)? Didn't V8 just got a new custom backend like literally last week? And wasn't B3 a complet
by chrisseaton 6y ago
> Who still writes backends from scratch nowadays (i.e. after ~2010)?
Didn't V8 just got a new custom backend like literally last week? And wasn't B3 a completely new backend? And what about Graal? That had much of its development and several of its backends after 2010. Not everyone is using LLVM like you think they are.
> Why would anyone waste time writing a compiler backend nowadays?
Because LLVM isn't great at everything! It's not designed for dynamic compilation, and while it can be used for that, you have to put a pretty powerful IR in front of it.
- qalmakka 6y agoV8 has Google and Microsoft behind. If there is something that's definitely fuelled by big bucks, it's that. If you read my post above, I explicitly excluded JIT backends from my argument - I was mainly taking about "classic" compilers, which in general don't have a stringent need to also compile fast.
- chrisseaton 6y ago> If you read my post above I think you edited after you originally wrote it. But anyway... why exclude JITs? If you want to know about how compilers are written in practice, why discount JITs? And fundamentally, the answer to the question 'who still writes backends from scratch nowadays' is quite a lot of people, when you don't exclude anyone who does.