3 ms·
> The only low-level language that has any innate claim to reliability is C++ with proper use of the RAII idiom. Or rather a very carefully chosen subset of C+
by eru 15y ago
> The only low-level language that has any innate claim to reliability is C++ with proper use of the RAII idiom.
Or rather a very carefully chosen subset of C++. See http://yosefk.com/c++fqa/exceptions.html#fqa-17.3 http://yosefk.com/c++fqa/exceptions.html#fqa-17.3 for some of the problems.
By the way, what about ADA?
- tomjen3 15y agoAda is typically less well known and not used a lot, but if you want reliable code, it is pretty nice. Be aware that it is a b&d language.
- eru 15y agoI usually use Haskell at work, which is even more b&d in a sense and it's pretty reliable. But you can not call Haskell low-level.
- deleted 15y ago[deleted]
- absconditus 15y agoPL/SQL is similar to Ada in many ways.
- cageface 15y agoI have to admit a total ignorance of ADA. In domains where it's appropriate it may be a good choice. It's certainly a niche language compared to C/C++ though. I think some of Yosef's advice on C++ is out of date WRT to the C++11 standard too. shared_ptr is now the recommended smart pointer, for instance.