News for hackers. Stuff that matters.
Re:Twelve Years of Go by Andys on Wednesday November 10, 2021 @04:02PM (#29180734)
It is lighter and faster and requires no runtime.
Re:Twelve Years of Go by kaba0 on Wednesday November 10, 2021 @04:35PM (#29181199)
Than Java 1.14? Yes. Lighter is true of current Javas as well, but faster is dependent on the program. Go can often prevent garbage from being generated in the first place, but when creating garbage is a must, Java will happily handle heaps up to a terabyte in size, and its GCs are simply the state of the art.

Also, Go most definitely has a runtime, what runs the GC otherwise?

Re:Twelve Years of Go by Andys on Wednesday November 10, 2021 @04:56PM (#29181472)
But its also faster to compile and use as a developer. And by runtime I mean there's no JVM. If you're used to Java you should probably just stick with it, but using Go is a huge relief to me.
Re:Twelve Years of Go by jhgb on Wednesday November 10, 2021 @06:43PM (#29182512)
> And by runtime I mean there's no JVM

That's an awfully restricted definition of "runtime": https://golang.org/src/runtime/