News for hackers. Stuff that matters.
Re:Toward a TypeScript for C++" by jiripospisil on Saturday November 04, 2023 @01:06PM (#38142932)
Considering that Chromium, being one of the most heavily statically analyzed code bases, is full of commits which fix memory leaks, your comment makes absolutely no sense.

https://github.com/search?q=repo%3Achromium%2Fchromium+memor...

Re:Toward a TypeScript for C++" by otabdeveloper4 on Saturday November 04, 2023 @01:40PM (#38143319)
Anything written by Google is absolute bottom of the barrel shit.

It's not indicative of anything average in the real world.

Re:Toward a TypeScript for C++" by deschutes on Saturday November 04, 2023 @01:25PM (#38143167)
Chromium is a massive project spanning decades of intense active development that intricately connects just about every domain of programming.

A few leaks fixed per month is nothing. Further there is no major language promising no leaks once you include things like retained references to garbage and reference cycles. Leaks are one thing modern C++ solves pretty well.

Re:Toward a TypeScript for C++" by harrid on Saturday November 04, 2023 @01:48PM (#38143413)
It's a bit hard to get an overview. But I did spot several uses of owning raw pointers and switching from those to managed ones. I'd say that's exactly the point I was trying to make.