Get the latest tech news

Jank development update – Moving to LLVM IR


Learn about jank's upcoming LLVM IR codegen, Rust interop plans, and more.

It allows us to take advantage of C++'s type inference, overloading, templates, and virtual dispatch, whereas we'd have none of those things if we were generating LLVM IR, machine code, or even C. If we buy into the second form of interop more strongly, we can rely on actual native source files to reach into the jank runtime and register their types/functions. He also recently added scientific notation for floating point values, as well as an extension of jank's object concept to support to_code_string, which allows us to now implement pr-str.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of LLVM IR

LLVM IR