Declarative and Minimalistic Computing

Peter Munch-Ellingsen

Nim & C: Reaching the stars by standing on the shoulders of giants

Sunday 10:50-11:10 | H.1308 (Rolin)

Nim is a statically compiled type safe language with lots of modern features and a flexible macro system. in this talk we'll have a look at how Nim interfaces with C and how we can automatically have Nim import C code for zero overhead reuse of C libraries. This allows Nim to used in C-based ecosystems like FreeRTOS or as dynamic libraries, and it allows Nim to use existing high-performance libraries written in C without sacrificing performance.