3 ms·
> Rust + GC + green threads? I haven't used Pony much yet, but when I first saw it, this was my first connection. In some, but not all, ways, it is like what R
by steveklabnik 11y ago
> Rust + GC + green threads?
I haven't used Pony much yet, but when I first saw it, this was my first connection. In some, but not all, ways, it is like what Rust used to be at a certain moment in its history. The languages have different goals, so it's not like I think this means Rust is better or something.
- Matthias247 11y agoNo, I don't think the similarity is big. Pony is all the way about asynchronous/nonblocking messaging. Rust with green threads was favoring synchronous/blocking calls, just like Go, which probably also suits the ownership model better. So Pony might be better compared to Erlang with a strong type system and without a blocking receive method than to Rust or Go.
- steveklabnik 11y agoYeah, I mean, this is why comparing languages solely based on feature lists is a bad idea; it's also about things like idioms. It's more like, "in some ways, Rust was trying to be similar to Erlang, and in some ways, Pony is trying to be similar to Erlang, so in some ways, Pony and Rust are kinda similar." Emphasis on the 'kinda'. (And I'm thinking about Rust _pre_ ownership model, here. And Rust does have non-blocking IO, just not in the standard library. It's not imcompatible with ownership.)