Y
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
vendakka
3738 days ago
Regarding generics: the tool generates Java bindings from Go code. Since Go doesn't have generics we just generate non-generic bindings.
link
vendakka
3738 days ago
Yes. The only constraint is that the jar will only work on the architecture it was built on.
link
meddlepal
3738 days ago
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.
link
pookeh
3738 days ago
Yes
link