by wiremine · 3y ago · 0 comments
On a sort-of-related topic: I've been checking out the Inko programming language, which has some similar goals/ideals as Pony:
Inko lists Erlang and Pony as inspiration for its concurrency model:
"Inko uses lightweight processes for concurrency, and its concurrency model is inspired by Erlang and Pony. Processes are isolated from each other and communicate by sending messages. Processes and messages are defined as classes and methods, and the compiler type-checks these to ensure correctness."
Some languages (Erlang, Go, Haskell) have green threads with preemptive scheduling on CPU loops (though Go only preempts at function boundaries IIRC) but Pony does not, actors have to cooperate.
I think this was improved with more recent Go versions and now it is really preemptive