Re:Asynchronous IO in Rust
by acconsta on Monday September 21, 2015 @08:46PM
(#10256035)
Placer looks interesting. I'll try it out.
>When you're writing a kernel you're not supposed to be using the standard library at all, just libcore (which exists for this purpose). The same issue exists in C++.
Not quite. C++ standard containers are polymorphic on the allocator. That means you're welcome to use std::list or std::string in kernel mode. Just plug in a kernel allocator and you're good to go.
There's no technical reason why every Rust core project must reinvent the linked list and the hash map, like every C project.
>When you're writing a kernel you're not supposed to be using the standard library at all, just libcore (which exists for this purpose). The same issue exists in C++.
Not quite. C++ standard containers are polymorphic on the allocator. That means you're welcome to use std::list or std::string in kernel mode. Just plug in a kernel allocator and you're good to go.
There's no technical reason why every Rust core project must reinvent the linked list and the hash map, like every C project.