dysfun@treehouse.systems ("gaytabase") wrote:
why actors? well it's more the stackful coroutines bit. if you've ever tried to push async rust too far you will no doubt have discovered that recursion is streng verboten and you'd better box something. aside from introducing function colouring, rust's model of async is inherently limiting in the sorts of structures you can do without calling malloc. so stackful is just better ergonomics.
the other side effect of rust's model is that you wake a task and then poll all of its futures. i don't do this in gnt, you get mailed the answer, not told to poll again.