Re:Go's Concurrency Examples in Java 19
by funcDropShadow on Wednesday May 04, 2022 @02:41AM
(#31257438)
And the importance of this first class support cannot be overstated. It means:
- meaningful complete stacktraces
- debugger support
- all blocking libraries get the benefits of async code automatically [1]
- all monitoring features of the platform work
- profilers get more useful again
- less mental overhead when programming, i.e. simplicity
[1]: With one caveat: Libraries which call directly into blocking native calls do not become async automatically. But they are very rare on the Java platform.
[1]: With one caveat: Libraries which call directly into blocking native calls do not become async automatically. But they are very rare on the Java platform.