Carbon, a new programming language from Google, aims to be C++ successor9to5google.comexternal-linkcross-posted to: cpp@lemmy.ml Roslavets ( @Roslavets@beehaw.org ) Open Source@lemmy.ml • 2 years ago message-square16arrow-up122
arrow-up122external-linkCarbon, a new programming language from Google, aims to be C++ successor9to5google.com Roslavets ( @Roslavets@beehaw.org ) Open Source@lemmy.ml • 2 years ago message-square16cross-posted to: cpp@lemmy.ml
minus-square AgreeableLandscape ( @AgreeableLandscape@lemmy.ml ) linkfedilink17•2 years agoIsn’t that supposed to be Go’s job?
minus-square Roslavets ( @Roslavets@beehaw.org ) OPlinkfedilink3•edit-22 years agoIs Go compatible with C++?
minus-square pingveno ( @pingveno@lemmy.ml ) linkfedilink4•2 years agoNot seamlessly. That’s pretty much impossible given the complexity of C++. Go does interoperate with C via cgo, which can be made to produce something like C++ compatibility.
minus-square wiki_me ( @wiki_me@lemmy.ml ) linkfedilink3•2 years agoI don’t go is for performance critical applications.
minus-square millertime ( @millertime@lemmy.ml ) linkfedilink2•edit-22 years agohmm I thought Go was written as a “better C” edit: checked my facts and indeed its designers made it because of their dislike for C++
Isn’t that supposed to be Go’s job?
Is Go compatible with C++?
Not seamlessly. That’s pretty much impossible given the complexity of C++. Go does interoperate with C via cgo, which can be made to produce something like C++ compatibility.
I don’t go is for performance critical applications.
hmm I thought Go was written as a “better C”
edit: checked my facts and indeed its designers made it because of their dislike for C++