Hacker News new | ask | show | jobs
by kaba0 1089 days ago
> Color functions are just not the right road to go down. Something akin to Javas new green threads would be better, or Go style coroutines

I agree with you on this in case of high-level languages. Rust is not that, and wouldn’t be half as interesting that way — but by going the system/low-level language route it does have to make certain design decisions that are not ideal. They can’t do what java’s loom does as it requires knowing every method implementation, which is fine with a fat runtime, but is not possible in case of Rust, with plenty FFI boundaries, etc.