News for hackers. Stuff that matters.
Re:Java is back? Programming language trends for 2345 teams by Zariel on Monday April 21, 2014 @04:45PM (#7623694)
The go runtime will manage memory of thins allocated in Go land but you must manage memory in C land.

If you allocate memory using C.malloc you must use C.free otherwise you will leak memory.

Re:Java is back? Programming language trends for 2345 teams by kasey_junk on Monday April 21, 2014 @06:36PM (#7624424)
Which again is very similar to JNI. I'm genuinely curious as to how Go's FFI differs from Java's to make that a distinguishing characteristic between the 2 languages.
Re:Java is back? Programming language trends for 2345 teams by twic on Monday April 21, 2014 @06:25PM (#7624377)
So how can native code get access to objects on the Go heap?