3 ms·
The borrow checker is not inherently about dynamic memory allocation. Heck, my toy x86_64 OS doesn't even have an allocator at all yet! Rust's features, includi
by steveklabnik 9y ago
The borrow checker is not inherently about dynamic memory allocation. Heck, my toy x86_64 OS doesn't even have an allocator at all yet! Rust's features, including the borrow checker, are still useful here.
I really like https://os.phil-opp.com/page-tables/ https://os.phil-opp.com/page-tables/, for example, which talks about using Rust's type system to ensure safe page table usage.