News for hackers. Stuff that matters.
Re:Thoughts on Rust, a few thousand lines in by skyde on Thursday January 10, 2019 @11:37AM (#18875178)
I agree with you. I guess the best solution would be something in between “await” and goroutine.

My understanding is the main issue with “await” model is that you only abstract The Task model.

Running task don’t gave a real ID and stack like “Go” and “Erlang” you can list all running fiber how much memory and CPU they use ...

I believe you could write your own event loop easily in Go if they exposed the internal api used to pause and resume goroutine, you can already pause goroutine by having them wait on a mutex and resume them from your custom event loop by releasing that mutex.

There are no comments on this comment yet.