|
|
|
|
|
by 15155
3942 days ago
|
|
The primitives to build a Rust/OTP aren't there (specifically: blessed green threads or some kind of blessed event system + reactor, for better or worse) Without those, we're going to see a hundred different solutions crop up, none of them being interoperable. |
|
I'm also sort of hopeful that higher-kinded types can do something about writing code that can run on any such system. If you can have some functions on an abstract Promise<T> type, like fn then(Promise<T>, fn(T) -> Promise<U>) -> Promise<U>, it doesn't super matter which backend you're using. (As I understand it, JS is already here, because they can duck-type their promise spec.)