4 ms·
Not a Java developer, but why not use an existing Java library for this? Don't know if they're using C or something else behind the scenes, but a quick Google s
by jansommer 3y ago
Not a Java developer, but why not use an existing Java library for this? Don't know if they're using C or something else behind the scenes, but a quick Google search brings up a few.
- sumeruchat 3y agoWell because in java you wont be able to do low level stuff like managing individual memory blocks that is essential in a websockets networking lib.
- ianlevesque 3y agoThis is just false with NIO buffers. There’s a large corpus of Netty-based servers and clients for all sorts of binary protocols.
- rad_gruchalski 3y agoI wonder how other websockets libraries for java do it if it is impossible /s
- rockwotj 3y agoLook at Netty.io, that's the defecto java networking library. They have some optional JNI stuff
- deleted 3y ago[deleted]