Jank development update – Moving to LLVM IR

by refseton 10/15/24, 6:50 AMwith 49 comments
by masijoon 10/17/24, 12:31 AM

Incredible work. A native Clojure would be a dream come true!

Wish jank the best of lucks. Hope I can contribute soon.

by erichoceanon 10/17/24, 1:26 PM

Maybe this has has already been covered, by I would not target LLVM IR in 2024.

I'd target MLIR (like Mojo does).

1. It's a much easier/better target to work with.

2. It's a strict super-set of LLVM IR.

3. Much better optimizations are possible that are specific to your language.

Separately, I'd love to have a Clojure-friendly interface to MLIR—whether via Jank or something else.

by RossBencinaon 10/17/24, 7:12 AM

Is LLVM IR a stable target these days? I once heard of a project that got bit pretty hard with LLVM IR interface changes in the (not all that recent) past.

by anovickon 10/16/24, 10:53 PM

I love this writing style, very easy to read. Best of luck with the optimizations effort! looking forward to hearing more about this project.

by mightyhamon 10/17/24, 11:34 AM

I'm curious what advantages Jank has over GraalVM, since Graal also supports interop with llvm languages.

by fire_lakeon 10/17/24, 8:04 AM

IIUIR, Clojure uses the JVM garbage collector to clean up memory.

How does Jank do this whilst keeping the user code… still Clojure?

by sorrythankson 10/17/24, 7:04 AM

This is a wonderful project, I'm very excited for it. I look forward to reading about the WebAssembly plan

by pjmlpon 10/17/24, 6:12 AM

Great that it is already making use of C++20 modules.

by gdsdfeon 10/17/24, 4:01 PM

does this mean there's a path from clojure to wasm ?! and the wasm component model ?

by amano-kenjion 10/17/24, 2:56 PM

How useable is jank already? Is it production ready?

by radson 10/17/24, 4:12 AM

Awesome work Jeaye!

by eikenberryon 10/17/24, 12:05 AM

Nice to see a language take developer UX seriously and focus on good compilation times. I wish this was more common.