RE: EXT :RE: Virtual Threads

<[email protected]> Wed, 2 Mar 2022 13:17:45 -0500
Newsgroups gmane.comp.lang.smalltalk.vwnc
Message-ID <[email protected]>
But to what real day to day benefit ? at the expense of added complexity of maintaining the mix, we will see , as it stands Java developers already have arguably a better option for concurrency management in the form of Kotlin

 

From: Guerrero, Axel [US] (ES) <[email protected]> 
Sent: Wednesday, March 02, 2022 10:47 AM
To: '[email protected]' <[email protected]>; 'Annick' <[email protected]>; [email protected]
Subject: RE: [vwnc] EXT :RE: Virtual Threads

 

It is interesting that the Java community are trying to bring back green threads.

 

The first two releases of the JVM operated under green threads exclusively.

Native threads began to appear in JDK 1.2 (for Solaris) and JDK 1.3 (for Linux).

By the time JDK 1.3 was available everywhere, green threads were abandoned in favor of native threads.

 

If project Loom does see the light of day, it will bring an option for developers: Do I spawn off this little thread as an OS thread? Or as a Green thread?

It will make for interesting architectural decisions.

 

 

From: [email protected] <mailto:[email protected]>  <[email protected] <mailto:[email protected]> > 
Sent: Wednesday, March 2, 2022 07:43
To: 'Annick' <[email protected] <mailto:[email protected]> >; [email protected] <mailto:[email protected]> 
Subject: EXT :RE: [vwnc] Virtual Threads

 

Interesting, thanks for pointing that out.

 

Its yet another acknowledgement from the Java community that native threads are not the panacea that they are marketed to be.

For example the polyglot VertX framework which I have used heavily relies on a event loop (Reactor/Multi Reactor pattern) instead.

 

Its interesting, but I just don’t see how much they are going to add to the game i.e. perhaps at best Java user’s will get what Smalltalk has been doing right for eons yet they still have to code in Java 😊

 

-Charles

 

 

 

 

From: Annick <[email protected] <mailto:[email protected]> > 
Sent: Wednesday, March 02, 2022 3:48 AM
To: [email protected] <mailto:[email protected]> 
Subject: [vwnc] Virtual Threads

 

Hi,

 

                I was attending yesterday a talk on the Java Loom project, which aims at implementing virtual threads (instead of OS threads) in Java.

                In particular I learned that any Java thread allocates 2M in memory, which limits considerably the physical number of threads in a server.

                Does anyone know the comparison between Smalltalk processes and Java virtual threads ?

 

                

                




 <https://urldefense.com/v3/__https:/www.fencingfox.com/__;!!DZ3fjg!pzGXXy1dwT8Msh8zic3dzrg51d7HGCdB-nhf_MDe0g9d8FMuTByeNAsAOTzpQexxJhBLRWc$> 


Annick FRON


  <https://urldefense.com/v3/__https://live.staticflickr.com/65535/50623083678_b5ff9d03dd_o.png__;!!DZ3fjg!qLHohJTAQ6SYAKpx9OkOleZGCuVXmZR0gfBIeBxHJS3zfIboR0OLaYqhPwUXbo3_sfoEPC4$ >  <tel:+33%20497021561> +33 497021561
  <https://urldefense.com/v3/__https://live.staticflickr.com/65535/50623082708_5cedfe2ca4_o.png__;!!DZ3fjg!qLHohJTAQ6SYAKpx9OkOleZGCuVXmZR0gfBIeBxHJS3zfIboR0OLaYqhPwUXbo3_5eH3o_4$ >  <tel:+33%20607114836> +33 607114836
  <https://urldefense.com/v3/__https://live.staticflickr.com/65535/50623926317_6c60288d81_o.png__;!!DZ3fjg!qLHohJTAQ6SYAKpx9OkOleZGCuVXmZR0gfBIeBxHJS3zfIboR0OLaYqhPwUXbo3_nO4EIZ4$ >  <mailto:[email protected]> [email protected]
  <https://urldefense.com/v3/__https://live.staticflickr.com/65535/50623803291_817ff4a43e_o.png__;!!DZ3fjg!qLHohJTAQ6SYAKpx9OkOleZGCuVXmZR0gfBIeBxHJS3zfIboR0OLaYqhPwUXbo3_7_gBBCA$ >  <https://urldefense.com/v3/__https:/fencingfox.com__;!!DZ3fjg!pzGXXy1dwT8Msh8zic3dzrg51d7HGCdB-nhf_MDe0g9d8FMuTByeNAsAOTzpQexxkxLQtbs$> 977 avenue du Dr Lefebvre, 06270 Villeneuve-Loubet, France    <https://urldefense.com/v3/__https://live.staticflickr.com/65535/50623803291_817ff4a43e_o.png__;!!DZ3fjg!qLHohJTAQ6SYAKpx9OkOleZGCuVXmZR0gfBIeBxHJS3zfIboR0OLaYqhPwUXbo3_7_gBBCA$ >  <https://urldefense.com/v3/__https:/fencingfox.com__;!!DZ3fjg!pzGXXy1dwT8Msh8zic3dzrg51d7HGCdB-nhf_MDe0g9d8FMuTByeNAsAOTzpQexxkxLQtbs$> https://urldefense.com/v3/__https://fencingfox.com__;!!DZ3fjg!qLHohJTAQ6SYAKpx9OkOleZGCuVXmZR0gfBIeBxHJS3zfIboR0OLaYqhPwUXbo3_GU4icUI$