19 ms·
Another good option is to use Joe Armstrong's approach: look at the LLVM IR generated by clang for example and then emit those. My first attempt at using LLVM
by mpweiher 11y ago
Another good option is to use Joe Armstrong's approach: look at the LLVM IR generated by clang for example and then emit those.
My first attempt at using LLVM was using the C++ API. It was...a struggle. Using this approach (IR snippets), I made more progress in a day than I had in months using the API.