3 ms·
The beauty of LLVM is that developers of compilers based on LLVM like Pony or Julia don't have to even think about the backends.
by piokuc 10y ago
The beauty of LLVM is that developers of compilers based on LLVM like Pony or Julia don't have to even think about the backends.
- obl 10y agoUnfortunately that's only superficially true. You have to care about GC interop, unwind & debug dwarf data, implementing part of the ABI in the frontend, and of course the occasional bugs when you exercise code path that clang does not. Because of this, enabling a new backend is a substantial amount of work even if the instruction selection/generation is indeed taken care of for you.
- piokuc 10y agoSounds like you have some practical experience with that. What frontend was it? Are these problems frontend/language independent?
- pjmlp 10y agoSame applies to JVM and CLR.