Article may be outdated

This article is 3 days old. Some details may have changed since publication.

Hacker News·3 min read·hard

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

G
giancarlostoro
Jank – The native Clojure dialect with seamless C++ interop
✦AI Summary

Jank is a new programming language that functions as a Clojure dialect built on top of C++ and LLVM. It allows for seamless C++ interoperability, enabling developers to use functional programming paradigms while maintaining high performance.

Why it matters

This tool bridges the gap between high-level functional languages and low-level system performance, potentially simplifying game development and complex software engineering workflows.

✦Dive DeeperCreate a free account to unlock

jank programming language - Clojure/LLVM/C++

The native Clojure dialect with seamless C++ interop

jank is Clojure on top of C++. It has C++ interop unlike any other language. Templates, virtual functions, exceptions, overload resolution, and RAII all just work in jank. No boilerplate necessary. Just include your headers and go! jank is a robust Clojure dialect. It offers interactive REPL-driven development powered by a Clang-based C++ JIT compiler.

{ boost.filesystem.file_size file-size }))

; :error "boost::filesystem::file_size: Permission denied [system:13]: \"/root/.bash_history\""}

jank builds upon Clojure Keep your existing code; unlock the native world.

jank is a full-on Clojure dialect, with C++ interop instead of Java interop. There's a :jank reader conditional for when you need it.

jank can include any C++ source, link to any C or C++ library, and it uses the C++ type system. jank even compiles to C++!

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologystartups
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in