News for hackers. Stuff that matters.
Re:Ladybird, the from-scratch SerenityOS browser, can now di... by senkora on Monday November 07, 2022 @05:47PM (#33513633)
I think a significant factor in this is that C++ simply has better abstractions for building large codebases than C does. Any big enough C project is gonna turn out a bit funky.
Re:Ladybird, the from-scratch SerenityOS browser, can now di... by mhh__ on Monday November 07, 2022 @07:16PM (#33514428)
For quite a long time now I have said that the future for the Linux kernel could easily be C++ rather than rust.

Rust is very cool and have no issue with it in the kernel tree but C++ would prevent so many bugs and eliminate so many lines of code. It's just ego.

Re:Ladybird, the from-scratch SerenityOS browser, can now di... by mdaniel on Monday November 07, 2022 @09:17PM (#33515198)
> C++ would prevent so many bugs

https://chromereleases.googleblog.com/search/label/Stable%20... and control-f for "High CVE"

This from the company with arguably the best security researchers on Earth, and probably unholy amounts of internal fuzzing and static analysis tooling

Re:Ladybird, the from-scratch SerenityOS browser, can now di... by mhh__ on Monday November 07, 2022 @09:53PM (#33515396)
Note that the baseline is C not C++ used badly.