Re:Zig's New Relationship with LLVM
by pron on Tuesday September 29, 2020 @06:50AM
(#24626123)
But Zig has counterparts to exceptions, templates and anything you may want to do with them; it compares quite nicely with even "rich" C++. The one thing it intentionally doesn't have is operator overloading. In general, I'd say that the difference between Zig and C++ is that when you do some clever stuff in Zig, you need to be explicit about it so that the reader knows this call-site uses dynamic dispatch or that there is a destructor being called or that this operation isn't really the standard +.
[ Parent
| on HN ]
There are no comments on this comment yet.