查看完整版本 : Intro to virtual threads: A new approach to Java concurrency

kormer 2023-11-10 14:25

[url]https://www.infoworld.com/article/3678148/intro-to-virtual-threads-a-new-approach-to-java-concurrency.html[/url]

從它的benchmark結果可見,執行的performance的確是快了多倍,似乎是跟node.js async/"single thread" model 差不多的運作呢?:loveliness:

Zzlaz 2023-11-11 12:14

點解叫virtual thread

kormer 2023-11-12 13:33

[quote]原帖由 [i]Zzlaz[/i] 於 2023-11-11 12:14 發表 [url=https://www.discuss.com.hk/redirect.php?goto=findpost&pid=562663699&ptid=31360133][img]https://www.discuss.com.hk/images/common/back.gif[/img][/url]

點解叫virtual thread [/quote]
可能是與它舊有Thread的類實作不同,易於區分。
頁: [1]
查看完整版本: Intro to virtual threads: A new approach to Java concurrency