Switch language한국어
Back to the list

Jank now has its own custom IR | Hacker News

TL;DR AI

Key summary

2 min read
  1. Jank now replaces a Clojure `max` call with a direct runtime call in its own IR.

  2. That gives LLVM more room to inline, simplify repeated type and arithmetic checks, and optimize the code further.

  3. The change can reduce interpreter-like overhead while preserving needed safety checks.

  4. It also sets up future specialization for unboxed types and other compiler optimizations.

Read the original