News for hackers. Stuff that matters.
Re:Linus Torvalds on Rust support in kernel by utxaa on Friday April 16, 2021 @01:31PM (#26836771)
> we have good support for "no allocations" and "panic on OOM or return Result on OOM"

so if i understand it correctly, the ability is there by just "returning a result on oom" - linus is just asking for complete assurance that a panic will never happen? like say from a library?

Re:Linus Torvalds on Rust support in kernel by steveklabnik on Friday April 16, 2021 @01:45PM (#26836949)
It is not 100% clear to me if he's asking for no panic in any possible situation. (AFAIK, the BUG macro in the kernel does something very similar, so I would find it slightly surprising, though he may only want it to happen "explicitly" or something, we'll just have to see.)

It is clear to me that he is asking for no panics for OOM.

Re:Linus Torvalds on Rust support in kernel by utxaa on Friday April 16, 2021 @01:54PM (#26837063)
> It is clear to me that he is asking for no panics for OOM.

agreed. which is why i'm confused. maybe this is a non-issue that has exploded into an issue :)

thanks.