logoalt Hacker News

pdimitartoday at 1:13 AM5 repliesview on HN

Thousands of share-nothing actors (fibers / green-threads) with first-class support for communication between them, for a start. Erlang/Elixir -- immutability as well.


Replies

lgrapenthintoday at 2:14 AM

"As a rule of thumb, if your application never has 10,000 virtual threads or more, it is unlikely to benefit from virtual threads."

https://docs.oracle.com/en/java/javase/21/core/virtual-threa...

show 2 replies
vips7Ltoday at 3:50 AM

Virtual threads can do that too.

rashkovtoday at 2:19 AM

What kind of software actually requires this? Honest question. Anything I can think of would probably be written by C++ devs

show 2 replies
Barrin92today at 3:03 AM

>share-nothing actors

although this is a deliberate choice rather than some accidental defect. Clojure went with STM as its concurrency model, if you're not buying into that and you want an Actor-centric language it's not the right choice to begin with.

show 1 reply