| ▲ | happyPersonR a day ago | |||||||
.... i can understand being like .... proactive. But maybe the failable allocations thing leading to writing your own allocator is premature? idk ... it's one of the core parts of the security model.... i would hope because there's such strict controls in rust for memory management that you wouldn't have the possibility for allocation fails to begin with? idk ? if it's a low memory situation, i think there's other ways to handle this ... but i can understand not wanting anything to change other than the language. but maybe it's something that gets better? | ||||||||
| ▲ | kevin_b_er 17 hours ago | parent [-] | |||||||
Then Rust could not be any part of the init executable. A failed allocation would be a kernel panic. | ||||||||
| ||||||||