Live data from Hacker News

Show HN: GoJava – Server/desktop Java bindings to Go packages

github.com

1–10 of 15 posts

Re: Show HN: GoJava – Server/desktop Java bindings to Go packages

#3
post #2

I'm looking forward to when this exists for every almost language. Go added "c-archive" build mode in 1.5. There is no reason gobind couldn't support any language which can work with c libraries (ruby, node, etc).

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 packages

#7
post #3
post #2

I'm looking forward to when this exists for every almost language. Go added "c-archive" build mode in 1.5. There is no reason gobind couldn't support any language which can work with c libraries (ruby, node, etc).

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

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 packages

#8
post #6

Go would benefit immensely from the ability to bind to JDBC drivers for database access.

What makes you think so? Go has pretty solid native drivers for most SQL databases out there: https://github.com/golang/go/wiki/SQLDrivers
Post reply on HN