News for hackers. Stuff that matters.
Re:Writing an OS in Rust: Async/Await by jklehm on Monday March 30, 2020 @12:41PM (#22729537)
Isn't that driving against the lesson learned from the past though? 3rd party drivers can not be trusted to behave and hang the kernel when doing so with cooperative multitasking.
Re:Writing an OS in Rust: Async/Await by steveklabnik on Monday March 30, 2020 @12:41PM (#22729554)
I am not sure what Phil's overall kernel design is; you're assuming a monolithic kernel, but not every kernel has drivers in kernel space.
Re:Writing an OS in Rust: Async/Await by jklehm on Monday March 30, 2020 @12:42PM (#22729562)
Fair point, looking forward to following along :)
Re:Writing an OS in Rust: Async/Await by mtnygard on Monday March 30, 2020 @12:51PM (#22729669)
Phil's series is meant for learning rather than production use. So sometimes he takes a "shortcut" in one post then removes the restrictions or workarounds later.
Re:Writing an OS in Rust: Async/Await by eximius on Monday March 30, 2020 @12:42PM (#22729565)
Toy OS, so he has less to worry about. But also maybe just be more careful around kernel modules, if that eventually exists?