3 ms·
No flame-bait here, but if you are seriously looking for that, how about Ada? Realistically, I don't see C++ going away for a looong time (if ever), simply bec
by krylon 11y ago
No flame-bait here, but if you are seriously looking for that, how about Ada?
Realistically, I don't see C++ going away for a looong time (if ever), simply because of the huge amounts of code written in it. But if one were looking for an alternative that matches C++ both in performance and control over memory layout, Ada is where I would start. It has generics, you can do OOP, it avoids many of the syntactic pitfalls of C++... As a bonus, the language standard and the rationale are available for free.
- supernintendo 11y agoI can think of a few reasons to avoid Ada. For one, resources and community for this language are basically nonexistent compared to C++. The history of the language is obscured in proprietary implementations which has led it down the same road as Pascal in terms of longevity. Ada has "bad parts" in the same way that C++ does, although this is mitigated by SPARK. Concurrency / tasking in Ada is simple and beautiful, however. One of the most compelling features of the language, especially coming from C++.
- marvy 11y agoHow much does Ada rely on garbage collection?
- Solarsail 11y agoDoesn't have one. Reference counting is available as a (what looks like third-party) library: http://www.adacore.com/adaanswers/gems/gem-97-reference-counting-in-ada-part-1/ http://www.adacore.com/adaanswers/gems/gem-97-reference-coun... I guess you could say that is even less reliance on GC than C++ has, with smart pointers being part of the standard.
- tjr 11y agoI have observed a strong trend in avionics software development to move away from Ada towards C++. I have not yet heard a concrete reason why. I might guess that it's easier to hire people with some existing C++ experience than with Ada experience, but understanding the programming language is pretty inconsequential compared to understanding the product domain.