Re:Linus Torvalds on Rust support in kernel
by asabil on Friday April 16, 2021 @09:23AM
(#26833549)
I would love to see the same thing, I always told people around me that Erlang/OTP is more akin to an OS than a traditional programming language. That being said, the key feature to enable what Erlang supports is asynchronous termination, which as far as I know is not possible in regular Rust.
[ Parent
| on HN ]
Re:Linus Torvalds on Rust support in kernel
by oconnor663 on Friday April 16, 2021 @09:29AM
(#26833621)
I think the current options for killing a generic task in Rust are either 1) make it an async task, which can be cancelled as long as it doesn't accidentally block a thread, or 2) make it a separate process, and have the OS kill it. Do either of those fit this use case?