News for hackers. Stuff that matters.
Re:Neverflow: Set of C macros that guard against buffer over... by tialaramex on Friday June 02, 2023 @08:12PM (#36172409)
I believe conventionally they're called the Rust Evangelism Strike Force.

And it's true that the rotten wood was better than nothing. Nobody is suggesting that NT or Linux should somehow have been developed in Rust in the 1990s. But likewise we shouldn't resist renewal in newer, better materials.

That applies to compiler internals too. Plenty of trouble down there for C++, it's just that C++ programmers can more often be sent away by assuring them that what they did was UB and so LLVM is entitled to miscompile it whereas the Rust people keep arriving with the receipts, in the form of LLVM IR that is lowered to machine code which makes no sense

e.g. https://github.com/llvm/llvm-project/issues/45725

Re:Neverflow: Set of C macros that guard against buffer over... by pjmlp on Saturday June 03, 2023 @04:23AM (#36174760)
Yet if I want to contribute to Rust backend, or its upcoming GCC implementation, write C++ I must.

Same applies to the runtimes of the languages I use at work, and GPGPU related tooling when not using shaders.

Maybe then do a Go/zig/D, focus on cranelift and fully bootstrap Rust, before trying to rewrite the world.

Re:Neverflow: Set of C macros that guard against buffer over... by tialaramex on Saturday June 03, 2023 @11:56AM (#36177686)
You certainly can go work on Cranelift or similar projects which have a coherent IR as a central goal rather than eh, it's probably good enough to compile C++.