one.nio.net package of one-nio library (
https://github.com/odnoklassniki/one-nio/tree/master/src/one/nio/net) is
basically a reimplementation of java.nio. It does less locking, and, I
suppose, allocates less garbage. You may find it useful.

On 12 March 2018 at 15:38, Michael Guyver <michael.guy...@gmail.com> wrote:

> On Sunday, March 11, 2018 at 8:25:32 PM UTC, John Hening wrote:
>>
>> recently I am interested in non-blokcing java api for networking. It
>> seems to be great. However, I would like to implement garbage-free
>> solution. I am trying to do it only for learning purpose (I know that I
>> don't implement a "better" solution). Especially, my solution is going to
>> be garbage-free.
>>
>
>  Hi John,
>
> I've looked intot this as part of a toy project and as Martin says you end
> up with JNI. At that point you could just as easily hand-off the networking
> layer to something like libev and be done with it, depending on your needs.
>
> Of course, a 0-GC TLS (client) in Java is a real ask. ;)
>
> Regards
>
> Mike
>
> --
> You received this message because you are subscribed to the Google Groups
> "mechanical-sympathy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mechanical-sympathy+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mechanical-sympathy+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to