News for hackers. Stuff that matters.
Re:C++26 Disapproved by scotty79 on Wednesday November 04, 2026 @01:03AM (#50361952)
Why would anyone want to rewrite anything in C++ given they can choose anything else? Like Rust or Go or C or Zig or literally anything else.
Re:C++26 Disapproved by filipdobro on Wednesday November 04, 2026 @01:48AM (#50362198)
Compiler stuff in MLIR.
Re:C++26 Disapproved by nananana9 on Wednesday November 04, 2026 @02:23AM (#50362403)
I wouldn't choose Rust because of compile times. C++ ones aren't great either, but with discipline in how you structure headers, you can get reasonable compile speeds. Unsafe Rust is also a bit of a PITA, and I (in game engines) have cases where I care lot about precisely how memory is laid out and accessed, so I'd have to resort to it quite a lot.

I wouldn't choose Go because GC is a non-starter.

I wouldn't choose C because it's nice to have some form of generics or metaprogramming, even if templates are not exactly fantastic.

I wouldn't choose Zig because the language isn't stable, and the lead developer has hinted that they'll drop LLVM down the line, and I don't want to beta test their compiler backend.

Re:C++26 Disapproved by tnodir on Wednesday November 04, 2026 @08:29AM (#50365256)
Zig drops LLVM for debug mode only.
Re:C++26 Disapproved by drnick1 on Wednesday November 04, 2026 @03:36AM (#50362842)
Because, used sensibly, C++ is a better C. This is more or less what C++98 was, and even that is probably too much.