< Back to all clusters
[TECHNOLOGY] · 2 sources

started · updated

jank improves C++ error reporting and stack traces

The jank compiler has implemented significant improvements to its error reporting capabilities, specifically targeting runtime exceptions and C++ interop errors.

To address the lack of a standard, portable way to obtain stack traces in modern C++ compilers, jank has developed a method to provide accurate stack traces for uncaught runtime exceptions. This includes mapping JIT-compiled C++ code back to the original jank code. The system can now report errors by identifying the nearest user Clojure call, effectively skipping internal library frames. These stack traces include specific arity information and precise source locations within jank files by pulling debug information from multiple sources.

Entities

C++ · Clojure · FFmpeg · React · jank