2 ms·
Take a look at quasar for the JVM. In practice I’ve found it outperforms* golang in my workloads. * there is a small fixed overhead increase in memory.
by kasey_junk 8y ago
Take a look at quasar for the JVM. In practice I’ve found it outperforms* golang in my workloads.
* there is a small fixed overhead increase in memory.
- Const-me 8y agoThere’re indeed multiple third-party libraries for that in many languages. E.g. for C++ we have lubuv, boost.asio, etc. However, built-in solutions have upsides. They work out of the box i.e. deployment is simpler. They’re integrated into the language, e.g. most network IO in golang is asynchronous under the hood, compiler and runtime do that automatically. They’re integrated into standard libraries, e.g. in .NET all streams be it files, sockets, or transforms like compressors and encryptors support asynchronous operations. The support is usually better, too.
- apta 8y agoThe JVM is getting coroutines with Project Loom. The same Quasar devs are integrating it into the JVM.
- apta 8y agoQuasar is going to be integrated into the JVM by means of project Loom.