News for hackers. Stuff that matters.
Re:JeroMQ: Native Java implementation of ZeroMQ by marktangotango on Monday February 10, 2014 @03:15PM (#7213463)
JNI is not considered to be a performant solution. Copying bytes across the jvm/c boundary is expensive. Depending on how the bindings are implemented (direct vs undirect ByteBuffers for example) you could easily see drastic differences in performance at high through put.
Re:JeroMQ: Native Java implementation of ZeroMQ by benmmurphy on Monday February 10, 2014 @04:25PM (#7213959)
The interesting thing was the comparison looked like pure c++ vs java. GC can give you better throughput than a naive memory allocator if you are willing to deal with the unpredictable pauses.
Re:JeroMQ: Native Java implementation of ZeroMQ by mey on Monday February 10, 2014 @05:46PM (#7214361)
But for a Java developer looking to make use of ZeroMQ, that comparison wouldn't make sense as they already are taking on the burden of the JVM.