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.
Cheers,
Vaci