Re:Implementing, Abstracting and Benchmarking Lightweight Th...
by kasey_junk on Thursday February 06, 2014 @04:08PM
(#7192946)
Not to mention the kinds of programs that would most benefit from lightweight threads are high connection count servers. Precisely the kinds of applications where the JVM weaknesses are most hidden (startup time, base level latency, etc).
You can think of the JVM as a very good optimizing compiler that compiles your program when you load it in a way that's tailored to your environment.
Also, when it comes to concurrency support, the JVM is usually years ahead of C++ (lock-free data structures, etc.). If you're doing concurrency, the JVM is usually a better target than C++.