Fearless Concurrency: Clojure, Rust, Pony, Erlang and Dart
sites.google.com
Fearless Concurrency: Clojure, Rust, Pony, Erlang and Dart
1–10 of 145 posts
Re: Fearless Concurrency: Clojure, Rust, Pony, Erlang and Dart
#2Re: Fearless Concurrency: Clojure, Rust, Pony, Erlang and Dart
#3Re: Fearless Concurrency: Clojure, Rust, Pony, Erlang and Dart
#4What's great about the actor model is that you can kinda apply it in languages not having such native support. Even if it will not be a strict model, with some education from the programmer it can do wonders and can be backed by lock free queues. What I see as a problem is always they for a thread to wait on new items a syscall must be executed which is costly. But one could use a spinlock a few cycles and later degr…
Yep, although not listed in the article, JS would be such an example for me. TBH I am not entirely sure what's the difference between Web Workers and Isolates but for me it's more or less the same: Both allow safe multi-threading simply because threads do have separate heaps.
Re: Fearless Concurrency: Clojure, Rust, Pony, Erlang and Dart
#5What's great about the actor model is that you can kinda apply it in languages not having such native support. Even if it will not be a strict model, with some education from the programmer it can do wonders and can be backed by lock free queues. What I see as a problem is always they for a thread to wait on new items a syscall must be executed which is costly. But one could use a spinlock a few cycles and later degr…
[[someObject async] doStuff];
This will schedule the doStuff message to run on the runloop of the actor (=object + runloop) in question.Re: Fearless Concurrency: Clojure, Rust, Pony, Erlang and Dart
#6Re: Fearless Concurrency: Clojure, Rust, Pony, Erlang and Dart
#7I was really excited to discover Pony a couple of years ago, sadly there is negative momentum with this project. So much potential, yet the world isn’t ready for it yet.
TBF I have never written Pony code, I was mostly reading documentation.
Re: Fearless Concurrency: Clojure, Rust, Pony, Erlang and Dart
#8As a non-native English speaker I found this use of commas very difficult to understand. Often I get the feeling that native speakers don't even notice it.
Re: Fearless Concurrency: Clojure, Rust, Pony, Erlang and Dart
#9Re: Fearless Concurrency: Clojure, Rust, Pony, Erlang and Dart
#10In case the author sees this: The indentation of the code samples is all over the place, making it quite hard to read. Even more so for a white-space sensitive language like Pony. Did you mix tabs and spaces?