top | item 21859641

(no title)

seriesf | 6 years ago

The fact that many large and lucrative code bases are written in c++ should disabuse you of the idea that c++ is suicidal.

discuss

order

chubot|6 years ago

“Many” is almost underselling it. It’s literally EVERY web browser that anyone uses. I don’t know where people get these ideas. OP has a shallow understanding of programming languages, software development, and their history.

bsder|6 years ago

> It’s literally EVERY web browser that anyone uses.

And is a fine example of path dependence.

No one can write a browser in any other language not because C++ is necessarily better but because the activation energy to bootstrap to a useful browser is so large (for example, one must provide a smoking fast Javascript engine before one even considers the web page rendering pipeline).

It will be interesting to see how much of the Firefox codebase gets taken over by Rust as time passes.