3 ms·
Great question. I'd like to know too! I always thought C is a better target for compiler makers because every target architecture has got a C compiler for it. T
by distcs 3y ago
Great question. I'd like to know too! I always thought C is a better target for compiler makers because every target architecture has got a C compiler for it. The number of targets that LLVM support is far less impressive. Also ton of work has gone into optimizing C compilers for any architecture you can imagine. I'd like to know too why compiler makers generally target LLVM instead of C?
- shortrounddev2 3y agoI don't know LLVM, but I would assume that LLVM is more rigidly defined and has less UB and more explicitly defined outcomes (e.g: less implementation defined behavior)