3 ms·
Most likely your experience is more relevant than mine, but regarding performance, while it is true that C# and Java are fast enough that for many, if not most,
by gpderetta 2y ago
Most likely your experience is more relevant than mine, but regarding performance, while it is true that C# and Java are fast enough that for many, if not most, applications are indistinguishable form C++, the raise and raise of JS and python (languages with questionable and downright terrible performance respectively) in the last decade make me think that implementation performance has not been a significant factor. Hardware advances might be relevant though.
Re maintenance, I'm not sure that a C++ program is more costly to maintain. I suspect that C++ is over-represented in multimillion line codebases.
In any case, I think you might be right, it certainly is possible that an optimal "full stack" language (if you allow me the term) just doesn't exist. I would settle for a control-plane language that is easily embeddable and can be easily embedded in a native C or C++ (or rust, or whatever) application.
- pron 2y ago> in the last decade make me think that implementation performance has not been a significant factor. Hardware advances might be relevant though. I think both have been significant, but I agree that top performance is not so much an issue for many applications (although JS is also very fast). > I suspect that C++ is over-represented in multimillion line codebases. You're right, but the question is compared to what? Java, C++ and C are pretty much the only languages used in multi-MLOC codebases maintained over many years (there are others, but not nearly to the same degree as those three) so they're all over-represented, but the amount of C++ and C code is significantly lower than that of Java code. I think it's due to maintenance costs (as a maintainer of a C++ codebases over my career, that's been my experience, but I try not to extrapolate so I consider this my unproven hypothesis).