Re:Announcing The Zig Software Foundation
by asdfasgasdgasdg on Sunday July 12, 2020 @08:21AM
(#23810804)
You are confused. Supporting the C ABI and operator overloading are orthogonal. One is about conventions for saving registers and such. The other is about the naming of functions. Zig probably has a principled reason to not support operator customization, but ABI concerns aren't it.
You were the one that brought up C++, so if I'm confused, it's because what you wrote.
Re:Announcing The Zig Software Foundation
by asdfasgasdgasdg on Sunday July 12, 2020 @09:39PM
(#23816352)
I did bring up C++, but I did not bring up operators. The question at hand is whether ABI concerns prevent operator overloading. Plainly, that is not an issue.
Zig supports C ABI, not C++ ABI.