DeVault: Announcing the Hare programming language
DeVault: Announcing the Hare programming language
Posted May 3, 2022 0:07 UTC (Tue) by atnot (guest, #124910)In reply to: DeVault: Announcing the Hare programming language by roc
Parent article: DeVault: Announcing the Hare programming language
Perhaps I shouldn't have mentioned C++ considering the advantages are less apparent there (or arguably it is even behind compared to bindgen and cxx's capabilities).
But either way, there's a lot more to compatibility than just understanding the language constructs. A lot of existing C and C++ code, unfortunately, has very unclear data ownership and mutability. Trying to wrap that in a language with much different and stricter memory semantics is usually a pretty bad time. I have given up on it multiple times before. So while Zig may not understand C++ headers (yet?), I do think it's already much closer to working well with it by default.
