4 ms·
Advantage of writing it in C: You can prototype an example client of your runtime in C before your code generator is working.
by limmeau 13y ago
Advantage of writing it in C: You can prototype an example client of your runtime in C before your code generator is working.
- lmm 13y agoAgain, why couldn't you do that with LLVM IR?
- luikore 13y agoLLVM IR is designed for machine, not human, it's too verbose, and requires SSA form. A normal person can't easily reason the logic in such verbose language. Plus people are more familiar with C.
- lmm 13y agoSure, but you can write your runtime test code in C - or any other language with an LLVM compiler.