Re:Towards Linux Kernel Memory Safety
by pjmlp on Thursday November 16, 2017 @06:15AM
(#15711804)
Ada already enabled it.
[ Parent
| on HN ]
Re:Towards Linux Kernel Memory Safety
by johncolanduoni on Thursday November 16, 2017 @10:31AM
(#15713406)
Ada's model for safe allocations is far more limited than Rust's, however. Particularly in ways that would require more unsafe code when writing a kernel.
I don't see why, given that Unchecked_Deallocation calls should only exist inside data structure implementations, never called directly from safe code.
Which should just use controlled types, pools or standard containers.
Also there are a few open experiments with Ada,
https://github.com/Lucretia/bare_bones
Then there are the commercial ones used in the industry, making use of bare metal profiles like Ravenscar.