News for hackers. Stuff that matters.
Re:Rust on AVR: Safer microcontrollers almost here by jfries on Saturday February 11, 2017 @04:12AM (#13621852)
I think that one thing that makes it difficult to write safe microcontroller code is the interrupts that can interrupt the normal flow at anytime. Does Rust on AVR help with this at all, or is it an orthogonal issue?
Re:Rust on AVR: Safer microcontrollers almost here by jononor on Saturday February 11, 2017 @07:31AM (#13622328)
Yes, really interested in how interrupts can be modelled with Rust. Preferably a safe abstraction without going full RTOS?
Re:Rust on AVR: Safer microcontrollers almost here by steveklabnik on Saturday February 11, 2017 @08:58AM (#13622627)
My toy OS project has a partial implementation of interrupts for x86_64: https://github.com/intermezzOS/kernel/blob/master/interrupts...

Just enough to get keyboards working, still a lot of stuff to do, but the foundation is there.

Used like this: https://github.com/intermezzOS/kernel/blob/master/src/main.r...