News for hackers. Stuff that matters.
Re:The end of the kernel Rust experiment by astrange on Wednesday December 10, 2025 @05:06AM (#46216024)
There's an allocation-free subset.

https://www.swift.org/get-started/embedded/

Rust's approach is overkill, I think. A lot of reference counting and stuff is just fine in a kernel.

Re:The end of the kernel Rust experiment by gjajric2 on Wednesday December 10, 2025 @05:37AM (#46216219)
But at least a lot of tasks in a kernel would require something else than reference counting, unless it can be guaranteed that the reference counting is optimized away or something, right?
Re:The end of the kernel Rust experiment by astrange on Wednesday December 10, 2025 @02:36PM (#46222508)
There are some allocations where it doesn't make sense for them to have multiple owners (strong references) but I wouldn't say it makes sense to think about it as being optimized away or not.