RC RANDOM CHAOS

jank: Clojure with Frictionless C++ Integration

· via Hacker News

Original source

Jank – The native Clojure dialect with seamless C++ interop

Hacker News →

jank implements Clojure as a C++ dialect with a Clang-based JIT compiler. It eliminates interop friction by letting developers directly use C++ templates, exceptions, RAII, and other language features inline, without marshalling, wrapper code, or function registration.

The language targets performance-critical applications like games where interactive REPL development and compiled speed both matter. Its Leiningen-compatible build system manages C/C++ dependencies automatically, discovering system libraries or building them from source as needed.

Teams can iterate in the REPL using standard nREPL editors while accessing full C++ capabilities without callback layers or managed-to-native bridges.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.