News for hackers. Stuff that matters.
Re:A proposal to start “llvm-libc” (2020) by xyzzyz on Tuesday December 07, 2021 @07:54PM (#29480155)
It’s much easier to write safer code in C++ than in C. You can still shoot yourself in the foot, but unlike C, modern C++ at least helps you avoid that.
Re:A proposal to start “llvm-libc” (2020) by flohofwoe on Wednesday December 08, 2021 @04:42AM (#29482789)
If safety is a concern they would have gone the Rust route though. Is C++ easier to fuzz and statically analyze than C? I'd doubt that tbh.
Re:A proposal to start “llvm-libc” (2020) by johnisgood on Wednesday December 08, 2021 @05:10AM (#29482989)
Or Ada. I wish AuroraUX was still alive. :(
Re:A proposal to start “llvm-libc” (2020) by rightbyte on Wednesday December 08, 2021 @10:41AM (#29486067)
I would say that you need to know alot more to get to the point where writing C++ is easier than C, though.