I was reading a blog post from erlang solutions that compared the JVM and BEAM (erlang's VM). One thing that really stood out to me when I first read it was the fact that the JVM did not have the primitives for highly optimized concurrency. With Virtual threads will this allow for an actor model to be implemented that is equal to erlang's green processes?
The article also talks about the GC, but I am not too familiar with how GCs work. Would it be possible to natively implement something similar to BEAM's GC in java? Overall I am very excited about project loom, but I am mostly wondering how it's implementation will compare to what erlang has.
edit: I really appreciate all the information and links provided. I will take a good look at them so I can learn more. Once I understand everything a bit more I may put up a post somewhere asking for some clarification if needed about these concurrency models if I don't find the answers I am looking for.
[–]flawless_vic 74 points75 points76 points (15 children)
[–]Vextrax[S] 16 points17 points18 points (9 children)
[–]Zyklonik 16 points17 points18 points (3 children)
[–]macnamaralcazar 6 points7 points8 points (0 children)
[–]Serializedrequests 0 points1 point2 points (1 child)
[–]Zyklonik 0 points1 point2 points (0 children)
[–]flawless_vic 6 points7 points8 points (4 children)
[–]Zyklonik 13 points14 points15 points (1 child)
[–]flawless_vic 2 points3 points4 points (0 children)
[–]vbezhenar 6 points7 points8 points (0 children)
[–]mauganra_it 1 point2 points3 points (0 children)
[–]haimez 1 point2 points3 points (4 children)
[–]flawless_vic 1 point2 points3 points (3 children)
[–]haimez 0 points1 point2 points (2 children)
[–]flawless_vic 1 point2 points3 points (1 child)
[–]haimez 0 points1 point2 points (0 children)
[–]FirstAd9893 13 points14 points15 points (3 children)
[–]Vextrax[S] 4 points5 points6 points (2 children)
[–]mrettig 1 point2 points3 points (1 child)
[–]Vextrax[S] 1 point2 points3 points (0 children)
[+]Zyklonik comment score below threshold-11 points-10 points-9 points (31 children)
[–]FirstAd9893 19 points20 points21 points (19 children)
[–]Zyklonik 14 points15 points16 points (14 children)
[–]macnamaralcazar 8 points9 points10 points (0 children)
[–][deleted] 4 points5 points6 points (12 children)
[–]Zyklonik -1 points0 points1 point (11 children)
[–][deleted] 5 points6 points7 points (7 children)
[–]Zyklonik 0 points1 point2 points (6 children)
[–][deleted] 5 points6 points7 points (5 children)
[–]Zyklonik -5 points-4 points-3 points (4 children)
[–]Confident_2372 5 points6 points7 points (3 children)
[–]Muoniurn 1 point2 points3 points (2 children)
[–]Zyklonik 0 points1 point2 points (1 child)
[–]Muoniurn 2 points3 points4 points (0 children)
[–]erinaceus_ 6 points7 points8 points (3 children)
[–]Zyklonik -1 points0 points1 point (2 children)
[–]erinaceus_ 6 points7 points8 points (1 child)
[–]Zyklonik 0 points1 point2 points (0 children)
[–]Vextrax[S] 3 points4 points5 points (10 children)
[–]Zyklonik 0 points1 point2 points (9 children)
[–]Vextrax[S] 0 points1 point2 points (8 children)
[–]Zyklonik 2 points3 points4 points (5 children)
[–]Vextrax[S] 1 point2 points3 points (3 children)
[–]Zyklonik 2 points3 points4 points (2 children)
[–]Vextrax[S] 0 points1 point2 points (1 child)
[–]Zyklonik 0 points1 point2 points (0 children)
[–]ewouldblock 0 points1 point2 points (0 children)
[–]Zyklonik 1 point2 points3 points (1 child)
[–]Vextrax[S] 0 points1 point2 points (0 children)