Hacker News new | ask | show | jobs
by wallnuss 1996 days ago
Julia has an interesting split here, it does the lowering into SSA from in pure Julia and then has a codegen steps that translates the SSA from into LLVM IR, but for that second step we do use the C++ API. We have very robust bindings to the C-API, but it forever feels just a bit incomplete and less cared for. The C-API is very stable, whereas the C++ API does change quite a bit.
1 comments

But you cannot use the C-API for symbols/methods. You need a C++ callback for that.