Re:Zig – Type Resolution Redesign and Language Changes
by munificent on Wednesday March 11, 2026 @02:44AM
(#47332341)
The biggest problem with C++ is that while everyone agrees there is a great language hiding in it, everyone also has a remarkably different idea of what that great language actually is.
[ Parent
| on HN ]
Re:Zig – Type Resolution Redesign and Language Changes
by ChrisGreenHeur on Wednesday March 11, 2026 @05:04AM
(#47333255)
There are multiple great languages hiding within it
Re:Zig – Type Resolution Redesign and Language Changes
by tialaramex on Wednesday March 11, 2026 @07:10AM
(#47334087)
I don't agree there's a great language hiding in C++. My high level objections would be that the type system is garbage and the syntax is terrible, so you'd need a different type system and syntax and that's nothing close to C++ after the changes.
After many years of insisting that "dialects" of C++ are a terrible idea, despite the reality that most C++ users have a specific dialect they use - Bjarne Stroustrup has endorsed essentially the same thing but as "profiles" to address safety issues. So for people who think there is a "great language" in there perhaps in C++ 29 or C++ 32 you will be able to find out for yourselves that you're wrong.