Re:The ups and downs of porting 50k lines of C++ to Go (2015)
by jonahx on Thursday March 14, 2019 @10:54AM
(#19389742)
> In my opinion ternary stuff is short handed eye candy
Granted
> not a great reason to discount a language
The ternary quote exemplifies an attitude at the heart of the language designer's priorities. That is, the lack of ternary is, in fact, much more than a lack of ternary.
Re:The ups and downs of porting 50k lines of C++ to Go (2015)
by fwip on Thursday March 14, 2019 @11:06AM
(#19389863)
> special syntax for threading
You mean the word go?
Re:The ups and downs of porting 50k lines of C++ to Go (2015)
by jknoepfler on Thursday March 14, 2019 @12:06PM
(#19390527)
coroutines aren't threads, fwiw
Golang is absolutely not a replacement for c or c++. It's a better replacement for the other languages out there requiring a VM to run anything. In short golang is better at cross platform than these other platforms and is IMHO good for writing good tooling. One of my colleagues said that golang now is sort of like java was in the old, old days. Making the same mistakes and needing necessary features added to become truly productive.
In my opinion ternary stuff is short handed eye candy and not a great reason to discount a language.
c++'s collections and <algorithm> fundamentally and utterly thrash anything golang claims to have, not to mention the whole stupidity around building garbage collection into a language that wants to be low level.