Remix.run Logo
▲ markhermeling 34 minutes ago

Neat. Lots of 'unsafe' hardware access in this. Always makes me wonder if Rust should look into something like Representation Clauses like in Ada.

https://learn.adacore.com/courses/advanced-ada/parts/data_ty...

It would allow for compiler level protection from writing wrong data into a register.

Anybody know if that is planned for Rust.