jank-lang / jank

A Clojure dialect hosted on LLVM with native C++ interop

Home Page:https://jank-lang.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix Cling optimization issues

jeaye opened this issue · comments

jank uses a tool called Cling to JIT compile C++ at runtime. Cling is a tool built on Clang/LLVM which uses Clang's C++ compilation abilities, but exposes them in a way that works JIT.

Very recently, Cling released a new version which supports LLVM 13. They were previously on LLVM 9. However, that newest version has issues when I enable optimizations, so I can't actually use it. Fixing this would require digging into the C++ internals of what's going on in Cling and why this is failing. I could also put you into contact with the developer of Cling, whom I know, and let him know you're helping out on jank. He should be able to guide you some.