News for hackers. Stuff that matters.
Re:Show HN: GoJava – Server/desktop Java bindings to Go pack... by namelezz on Monday March 28, 2016 @03:07PM (#11376542)
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?

Re:Show HN: GoJava – Server/desktop Java bindings to Go pack... by vendakka on Monday March 28, 2016 @03:44PM (#11376786)
Regarding generics: the tool generates Java bindings from Go code. Since Go doesn't have generics we just generate non-generic bindings.
Re:Show HN: GoJava – Server/desktop Java bindings to Go pack... by vendakka on Monday March 28, 2016 @03:24PM (#11376643)
Yes. The only constraint is that the jar will only work on the architecture it was built on.
Re:Show HN: GoJava – Server/desktop Java bindings to Go pack... by meddlepal on Monday March 28, 2016 @04:41PM (#11377220)
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.
Re:Show HN: GoJava – Server/desktop Java bindings to Go pack... by pookeh on Monday March 28, 2016 @03:14PM (#11376576)
Yes