Re:Errors in Go: From denial to acceptance
by repolfx on Monday November 26, 2018 @06:03PM
(#18537661)
It's a false dichotomy. Languages like Java or Kotlin compile fast and have exceptions too.
[ Parent
| on HN ]
Re:Errors in Go: From denial to acceptance
by mmirate on Monday November 26, 2018 @11:01PM
(#18539227)
Because the JVM takes another tradeoff against Go and Rust: it has a runtime interpreter+JIT, which causes even more performance overhead than Go's GC let alone Rust which - at runtime - is effectively a zero-cost abstraction over C and jemalloc.
Re:Errors in Go: From denial to acceptance
by repolfx on Tuesday November 27, 2018 @02:24PM
(#18545764)
The JVM GCs generally have much lower overhead than Go's does. Go imposes enormous collection costs on apps to try and drive latency so low. This is widely acknowledged in discussions of the various GC tradeoffs.
Re:Errors in Go: From denial to acceptance
by mmirate on Tuesday November 27, 2018 @10:34PM
(#18549095)
The GCs alone? Yes. The rest of their respective runtime architectures? Highly doubtful. As GC-dependent as Go may be, it still does end up as native code.
But frankly, comparing Go to Java when things like Rust exist ... seems analogous to comparing the z80 to the AVR when 32-bit ARM cores exist.
Re:Errors in Go: From denial to acceptance
by repolfx on Friday November 30, 2018 @04:18PM
(#18572710)
Offtopic/meta: for some reason your post was dead. The comment at the end is kind of pointless and flamey, Rust isn't that good, but doesn't seem to justify a post kill. I vouched for you to bring it back.
Re:Errors in Go: From denial to acceptance
by hactually on Monday November 26, 2018 @07:28PM
(#18538170)
Not quite - Java is faster than Kotlin [0] but I've never seen a Golang app take more than 10 seconds (and that's something huge like Kubernetes or Docker components)
[0] https://medium.com/keepsafe-engineering/kotlin-vs-java-compi...