News for hackers. Stuff that matters.
Re:Show HN: GoJava – Server/desktop Java bindings to Go pack... by vendakka on Monday March 28, 2016 @12:25PM (#11375199)
This exists for Python [0]. The reverse is also interesting (Go -> Java/Python/Ruby) and once I get some spare time, I'll play around with using libjvm to load and call jar files from Go.

[0] https://github.com/go-python/gopy

Re:Show HN: GoJava – Server/desktop Java bindings to Go pack... by rhodysurf on Monday March 28, 2016 @02:31PM (#11376231)
Its awesome. The problem is that only specific types are supported by a bunch of these types of libraries. In the case of gopy you cannot do anything with a nested slices in structs which limits things a bit.
Re:Show HN: GoJava – Server/desktop Java bindings to Go pack... by vendakka on Monday March 28, 2016 @03:22PM (#11376628)
Yes this is definitely a little limiting. I'm also experimenting with a slightly different binding method, where passing pointers to structs is disallowed (gobind currently allows pointers to structs). All structs are only passed by value, which solves a lot of the underlying problems and allows for slices and nested structs. I'll have something tangible in a few weeks and might switch out the dependency on gobind.

EDIT: edited for clarity

Re:Show HN: GoJava – Server/desktop Java bindings to Go pack... by rhodysurf on Monday March 28, 2016 @04:12PM (#11376996)
Thats awesome news, Thanks for the explanation!