3 ms·
It is lighter and faster and requires no runtime.
by Andys 5y ago
It is lighter and faster and requires no runtime.
- kaba0 5y agoThan 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?
- Andys 5y agoBut 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.
- jhgb 5y ago> And by runtime I mean there's no JVM That's an awfully restricted definition of "runtime": https://golang.org/src/runtime/ https://golang.org/src/runtime/