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-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.
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.