News for hackers. Stuff that matters.
Re:Performance of Rust Language [pdf] by fithisux on Monday May 25, 2026 @11:52PM (#48274770)
You can write C style C++ and enjoy the same benefits.

In Twitter a user explained me that it is common in embedded space.

You do not need the OOP, RTTI, exceptions.

Like C with most use cases of preprocessor replaced by generic programming.

Re:Performance of Rust Language [pdf] by afdbcreid on Monday May 25, 2026 @11:57PM (#48274802)
So? How is that an argument that C++ is more performant than C? It's only an argument that it's not less performant.
Re:Performance of Rust Language [pdf] by pjmlp on Wednesday May 27, 2026 @04:31AM (#48291361)
Because you can write C like code, while taking advantage of templates, compile time code execution, and eventually static reflection, that prepare work ahead of time, while at the same time giving more information to optimiser passes.
Re:Performance of Rust Language [pdf] by fithisux on Saturday May 30, 2026 @07:23AM (#48335060)
It is an argument that you can make a faster C-like if you like out of C++