News for hackers. Stuff that matters.
Re:Async Rust Is A Bad Language by Yoric on Friday September 08, 2023 @12:38PM (#37435929)
I've seen one wasm VM for Rust that offered what looked like transparent M:N, which should solve (in that case) most async difficulties. We'll see how that evolves.
Re:Async Rust Is A Bad Language by mike_hearn on Friday September 08, 2023 @01:14PM (#37436409)
Which one? I wonder what its performance is like.

A good candidate for this is Graal. It can compile (JIT/AOT) both WASM and also LLVM bitcode directly so Rust programs can have full hardware/OS access without WASM limitations, and in theory it could allow apps to fully benefit from the work done on Loom and async. The pieces are all there. The main issue is you need to virtualize IO so that it goes back into the JVM, so the JVM controls all the code on the stack at all times. I think Graal can do this but only in the enterprise edition. Then you'd be able to run ~millions of Rust threads.

Re:Async Rust Is A Bad Language by rapnie on Friday September 08, 2023 @01:33PM (#37436700)
Curious too. I follow Lunatic [0] as a candidate for future use, and also wasmCloud [1].

[0] https://lunatic.solutions/

[1] https://wasmcloud.com