Hacker News new | ask | show | jobs
by namelezz 3738 days ago
Since GoJava generates jar binding, does it mean other JVM languages can use the jar to call Go too?

Edit: Java has generic Go doesn't, how do the bindings work for generic?

3 comments

Regarding generics: the tool generates Java bindings from Go code. Since Go doesn't have generics we just generate non-generic bindings.
Yes. The only constraint is that the jar will only work on the architecture it was built on.
Still pretty awesome and that's not really a big deal. I'm going to guess most Java these days is running on x86_64 or ARM.
Yes