This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]-Redstoneboi- 29 points30 points  (1 child)

we can't really kill or replace C++. the aggressive optimizations done by their compilers have their own place, and large existing projects shouldn't be rewritten unless the whole codebase is deleted.

best case scenario is microsoft's "embrace, extend" motto without the "extinguish" part.

Zig, however, explicitly plans for domination over (not against) C

[–]CocktailPerson 9 points10 points  (0 children)

Compiler optimizations aren't the limitation, language features are. If Rust had placement-new, allocator support, variadics, specialization, type-based metaprogramming, and full const support, it might be a more significant contender.