11 ms·
The biggest take I have from this post is that apparently they have created go-like lightweight threads for the JVM with Quasar (http://docs.paralleluniverse.c
by eranation 13y ago
The biggest take I have from this post is that apparently they have created go-like lightweight threads for the JVM with Quasar (http://docs.paralleluniverse.co/quasar/ http://docs.paralleluniverse.co/quasar/) which is really interesting.
If I understand correctly, Quasar uses bytecode instrumentation to enable user-mode threads for the JVM, and they claim they did benchmarks that show X6 to X12 better performance than native JVM threads: http://blog.paralleluniverse.co/2014/02/06/fibers-threads-strands/#benchmarking-fibers http://blog.paralleluniverse.co/2014/02/06/fibers-threads-st...
This is really something that caught my attention.
- pjmlp 13y agoThe initial JVMs already had Go like threads, aka green threads, with red threads being OS ones. The language specification does not require a specific implementation and with time all JVMs moved to red threads. There are a few JVMs around that still support green threads as threading model.