News for hackers. Stuff that matters.
Re:A Complete Guide to LLVM for Programming Language Creators by wallnuss on Friday December 25, 2020 @08:56PM (#25540725)
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.
Re:A Complete Guide to LLVM for Programming Language Creators by rurban on Saturday December 26, 2020 @06:54AM (#25542896)
But you cannot use the C-API for symbols/methods. You need a C++ callback for that.