@[email protected] to Open [email protected] • 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.com@[email protected] to Open [email protected] • 2 years agomessage-square16fedilink
minus-square@[email protected]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@[email protected]linkfedilink3•2 years agoI don’t go is for performance critical applications.
minus-square@[email protected]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?
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++