News for hackers. Stuff that matters.
Re:A proposal to start “llvm-libc” (2020) by maccard on Tuesday December 07, 2021 @06:44PM (#29479636)
Raii is enough of a reason IMO, but templates, type safety, actual arrays, constexpr, and various modern changes to the language that allow for the compiler to optimise code (move semantics and RVO)
Re:A proposal to start “llvm-libc” (2020) by dralley on Tuesday December 07, 2021 @08:57PM (#29480495)
Those are all fantastic reasons to use relibc, the libc written in Rust, which has the additional benefit of already existing.

https://gitlab.redox-os.org/redox-os/relibc

Re:A proposal to start “llvm-libc” (2020) by maccard on Thursday December 09, 2021 @07:33AM (#29496627)
Sorry I missed this reply. I do'nt disagree, but honestly at this point anything is better than using C for libraries like this.
Re:A proposal to start “llvm-libc” (2020) by mhh__ on Tuesday December 07, 2021 @07:30PM (#29480011)
Function overloading and more places to use default values was enough to make me go mental last time I had to use strict C as opposed to limited C++