FOSDEM event "Optimising for humans"

Peter Munch-Ellingsen

Type devroom

Nim meta-programming for 0-cost abstraction on microcontrollers

Starts on day 2 (2021-02-07) at 17:30 (Brussels time, UTC+1) in room Declarative minimalistic (duration 00:30)

Matrix room #declarative minimalistic:fosdem.org

Nim is a statically typed language with a comprehensive meta-programming system. This makes it a really nice fit for micro-controllers, or otherwise hardware constrained environments (or to just use less resources in general). Based on my experiences with Nim and micro-controllers I'll dive into how meta-programming, DSLs, and Nims rich type system can be used to make nice readable code for micro-controllers without any added overhead compared to C. Both in terms of code-size, but also in terms of speed, in fact the code executed on the controller is pretty much the exact same thing, but with vastly improved ergonomics.

=> FOSDEM schedule page

Proxy Information
Original URL
gemini://radia.bortzmeyer.org/fosdem/event-11334.gmi
Status Code
Success (20)
Meta
text/gemini; lang=en
Capsule Response Time
176.621481 milliseconds
Gemini-to-HTML Time
0.314002 milliseconds

This content has been proxied by September (3851b).