|
|
|
|
|
by weberc2
2797 days ago
|
|
> Go isn't really in the same league as Rust, C++, or C. It's syntax is deceptively C like, and it has an equally poor type system, but it's performance is closer to Java, which is a few orders of magnitude slower than C++. Despite pushing outdated concepts like null and raw pointers on to the programmer, it has a runtime with a stop the world GC with no guarantees about object placement on the stack or heap Man, stating your opinions as fact is one thing, but every other claim you made above is empirically incorrect. Rust is a fantastic language on its own merits; no need to make stuff up about “the competition”. |
|
Go vs Java https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Go vs C++ https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
> pushing outdated concepts like null and raw pointers on to the programmer
I mean this is just a fact. Are you disputing nil and *?
> it has a runtime with a stop the world GC
https://blog.golang.org/ismmkeynote
"On the Y axis we have GC latency in milliseconds. On the X axis we have time. Each of the points is a stop the world pause time during that GC. "
> with no guarantees about object placement on the stack or heap
From the F.A.Q.
" How do I know whether a variable is allocated on the heap or the stack?
From a correctness standpoint, you don't need to know. Each variable in Go exists as long as there are references to it. The storage location chosen by the implementation is irrelevant to the semantics of the language."
> but every other claim you made above is empirically incorrect.
Seems you're empirically incorrect.