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-down13cross-posted to: cpp@lemmy.ml
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-square16fedilinkcross-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.