|
|
|
|
|
by throwawaymaths
644 days ago
|
|
Maybe the compiler (and the syntax) isn't the right place to put these guarantees. Surely there is some middle ground in design space between rust and ada on one side (fully in the compiler) and c (with sel4-style checking - proof checking on a post compilation artifact) on the other. Note that the c in sel4 and ada have stronger safety and correctness guarantees than rust |
|
Rust can be written as simply as you want it to be written. Or, you can go crazy with generics or metaprogramming.