Cool! Thanks for sharing.

How are you approaching concurrency? Are objects constrained to execute on
a single thread, as in the C++ implementation?

- David

On Sat, Oct 3, 2020 at 4:54 PM Vaci <[email protected]> wrote:

> Hi all,
>
> With some free time in my hands, I decided to have a go at writing the RPC
> protocol in Java, as least for two-party connections, using Java 8
> CompletableFutures as a analogue of the KJ async event management layer.
>
> I have got as far as being able to transfer capabilities between clients,
> and make calls to remote methods. There is still a fair amount to do in
> handling pipelining, disconnection and finish operations, but the
> implementation looks promising so far. The code sticks fairly closely to
> the C++ original, mostly to make my debugging efforts easier.
>
> I hope to start looking at extending the Java compiler stage for
> interfaces next, now that I have an idea of what the generated client and
> server code might look like.
>
> If anybody is interested,, the code is on Github:
>
>    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/63d14b08-e972-4239-ab27-258896872c19n%40googlegroups.com
> <https://groups.google.com/d/msgid/capnproto/63d14b08-e972-4239-ab27-258896872c19n%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/CABR6rW9wCyp5YYRCGe%3DszBeTHLX%2BY8jV91M5ptoic1QJaXqJ0w%40mail.gmail.com.

Reply via email to