Why such old compilers?? #261
-
I would like start contributing to Roc, it looks like a human-sized codebase, where one can practice some C++. However compilers supported are so old that I would basically have to code in C++03. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There are two reasons:
|
Beta Was this translation helpful? Give feedback.
-
Alright, |
Beta Was this translation helpful? Give feedback.
There are two reasons:
The most of the code base is intentionally limited to a subset of C++98. You can think about it as a kind of "C with classes". You can read the details in our documentation. This approach is quite different from modern C++. We're trying to keep the code simple and straightforward.
(Note that I'm not saying modern C++ is bad. I'm just saying that in this project, a different approach was chosen.)
I used to deal with (very) outdated compilers at work, which is usual for various Linux- and non-Linux embedded systems. Often compilers come from the hardware vendor and old boards never get updates. And since, from one hand, we want to be portable, and on the other han…