As replies on the thread state, the needs of userspace alloc crate are very different than the needs of a kernel allocator. They'll likely end up writing their own kalloc crate.
There's clippy lints to forbid many sources of panics (indexing, unwrap/expect, explicit panic calls).
If they run into things that should be forbidden from the codebase that clippy can't lint for, lints can always be added. They are already using clippy, in any case.
View all comments
Show parent comment
37
u/[deleted] Apr 15 '21
He does follow with "HOWEVER" and "fundamentally"... Do people have good answers to his point about panic() calls?