This is great! Out of curiosity, do you have a specific use case you're building for?
Do you have any RPC-specific documentation or examples yet? I notice this is implemented as a fork of the existing capnproto-java. Did you have to make changes to the existing code? Is the API compatible? I agree with Ian that FD passing probably isn't going to be important to Java users, so I wouldn't bother too much with it. +David Renshaw <[email protected]>, have you looked at this at all? -Kenton On Thu, Nov 26, 2020 at 10:54 AM Vaci <[email protected]> wrote: > Hi, > > I now have a reasonably complete implementation of Capnproto RPC in pure > Java. > > The major features still missing are: > > - file descriptor passing > - generics > > The former is not likely to find support any time soon in Java's > asynchronous socket library. The latter is hopefully 'just' extensions to > the compiler. > > Streams are recognised, but just fall back to non-streaming > implementations. > Cancellation and disconnection still need some work. > > I have slight regrets about using Java's CompletableFuture framework - > eager completion of promises without any guarantee of ordering made for > some interesting debugging - but it is at least a "standard" API. I would > like to find a better solution for running the client side message loop as > just waiting for promises to complete isn't sufficient. > > I have yet do do any serious stress or performance testing; so far the > implementation has been 'good enough' for my requirements. > > I suspect there are still plenty of bugs, so if anybody is interested in > finding them, please check it out: > > https://github.com/vaci/capnproto-java-rpc > > cheers, > Vaci > > -- > You received this message because you are subscribed to the Google Groups > "Cap'n Proto" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/capnproto/e7973e0b-109b-44d3-9e90-0a2753439be3n%40googlegroups.com > <https://groups.google.com/d/msgid/capnproto/e7973e0b-109b-44d3-9e90-0a2753439be3n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/CAJouXQn7WEytm0BiXWJweKQOUEWUPXSS%2BMb34xrsnu6qmexraA%40mail.gmail.com.
