News for hackers. Stuff that matters.
Re:The problem with C by rvz on Thursday September 03, 2020 @05:14AM (#24362193)
Yet the 'modern web browsers' we're all using are probably written in C++.

I'm yet to see a 'modern web browser' that is fully written and only written in C. (C bindings don't count)

Re:The problem with C by harry8 on Thursday September 03, 2020 @05:17AM (#24362220)
Original cross-platform Netscape was iirc. Quality died when they went to c++? Probably less influential on their fate than Microsoft.
Re:The problem with C by jcelerier on Thursday September 03, 2020 @05:55AM (#24362418)
> Quality died when they went to c++?

when they went to c++ it became Firefox. do you think we'd have a better firefox today had it stayed in C ?

Re:The problem with C by harry8 on Thursday September 03, 2020 @06:13AM (#24362526)
/When/ they went, which, iirc was Netscape 4 (?). It was horrendous, crashing, slow buggy, awfulness, which the previous version really wasn't. This was when it was all closed and proprietary.

Firefox came a long time later. Well after Mozilla opened.

No idea if Firefox would be better if they'd stayed in c. What i do know is that c++ is a vastly, vastly better language now through no fault of the standards committee. G++ got good. Then came clang++, valgrind was an amazing leap forward too.

Before all that there really was no such thing as cross platform c++.