Roslavets@beehaw.org to Open Source@lemmy.ml · 2 years agoCarbon, a new programming language from Google, aims to be C++ successor9to5google.comexternal-linkmessage-square16fedilinkarrow-up122arrow-down13
arrow-up119arrow-down1external-linkCarbon, a new programming language from Google, aims to be C++ successor9to5google.comRoslavets@beehaw.org to Open Source@lemmy.ml · 2 years agomessage-square16fedilink
minus-squareAgreeableLandscape@lemmy.mlMlinkfedilinkarrow-up17arrow-down3·2 years agoIsn’t that supposed to be Go’s job?
minus-squarepingveno@lemmy.mllinkfedilinkarrow-up4·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-squarewiki_me@lemmy.mllinkfedilinkarrow-up3·2 years agoI don’t go is for performance critical applications.
minus-squaremillertime@lemmy.mllinkfedilinkarrow-up2·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?
Removed by mod
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++