Roslavets@beehaw.org to Open Source@lemmy.ml · 2 years agoCarbon, a new programming language from Google, aims to be C++ successor9to5google.comexternal-linkmessage-square14fedilinkarrow-up122arrow-down12cross-posted to: cpp@lemmy.ml
arrow-up120arrow-down1external-linkCarbon, a new programming language from Google, aims to be C++ successor9to5google.comRoslavets@beehaw.org to Open Source@lemmy.ml · 2 years agomessage-square14fedilinkcross-posted to: cpp@lemmy.ml
minus-squareAgreeableLandscape@lemmy.mllinkfedilinkarrow-up15arrow-down3·2 years agoIsn’t that supposed to be Go’s job?
minus-squarewiki_me@lemmy.mllinkfedilinkarrow-up3·2 years agoI don’t go is for performance critical applications.
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-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
I don’t go is for performance critical applications.
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.
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++