Re:Ask HN: Go programming language is over ten years old. Wh...
by pjmlp on Monday October 26, 2020 @08:41AM
(#24895494)
Java also has AOT compilation to native code, if one is willing to pay for such tools (since around 2000, but now there is free beer AOT anyway).
Value types are around the corner and I bet they will be done first than generics in Go.
Re:Ask HN: Go programming language is over ten years old. Wh...
by _ph_ on Monday October 26, 2020 @08:48AM
(#24895562)
As I wrote, Java is in the process of adding features that mitigate its problems. My post was pointing out a few things where Go is clearly ahead of Java.
Re:Ask HN: Go programming language is over ten years old. Wh...
by pjmlp on Monday October 26, 2020 @09:31AM
(#24895940)
Only on support for value types, everything else Java did it first.
Re:Ask HN: Go programming language is over ten years old. Wh...
by philosopher1234 on Monday October 26, 2020 @06:58PM
(#24902482)
You are prolific in your hatred of go
Also, Go does not suffer from some fundamental Java problems, though they slowly get corrected. Go has value types, unboxed arrays. Generally, no struct in Go is boxed automatically. You have first class functions in Go and of course, it is statically compiled. It is true, that Hotspot often produces very good code, but for a lot of szenarios, a statically compiled Go executable beats it, as run-time compilation is not required.