Generic RPC interfaces for Java

21 views
Skip to first unread message

Vaci

unread,
Apr 3, 2021, 3:39:43 PMApr 3
to Cap'n Proto
I've been putting off s extending my Java RPC implementation to support generics, because generating the appropriate Java source code with capnpc-java is getting somewhat hairy.

I was wondering if it would be easier to use some pre-existing Java source code generator (probably written in Java) to do the donkey work of rendering the output? It should be possible to use capnpc-java to bootstrap a pure Java compiler stage...

Does anybody have recommendations on suitable Java code generators?

Vaci 
Reply all
Reply to author
Forward
0 new messages