3 ms·
Ok so jank is Clojure but with C++/LLVM runtime rather than JVM. So already all of its types are C++ types, that presumably makes things a lot easier. Basically
by Mathnerd314 1y ago
Ok so jank is Clojure but with C++/LLVM runtime rather than JVM. So already all of its types are C++ types, that presumably makes things a lot easier. Basically it just uses libclang / CppInterOp to get the corresponding LLVM types and then emits a function call. https://github.com/jank-lang/jank/blob/interop/compiler%2Bruntime/src/cpp/jank/codegen/llvm_processor.cpp#L1663 https://github.com/jank-lang/jank/blob/interop/compiler%2Bru...