logoalt Hacker News

astrangetoday at 10:06 AM1 replyview on HN

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.


Replies

gjajric2today at 10:37 AM

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?