4 ms·
But avoiding allocations in real-time C++ is a burden to some (increasingly common) kinds of programmers. The kids today are so indoctrinated in modern C++ tha
by adrianratnapala 10y ago
But avoiding allocations in real-time C++ is a burden to some (increasingly common) kinds of programmers.
The kids today are so indoctrinated in modern C++ that they don't stop to think that `vector<>::push_back()` potentially allocates behind the scenes.
Writing real-time code requires a certain mentality that is at odds with modern frameworks. I expect nice languages like D have similar cultural issues.
- p0nce 10y agoIf you need a feel of what the community values (apart from rants), have a look at the forums. https://forum.dlang.org/ https://forum.dlang.org/ D is backed by companies like Sociomantic and Weka.io that operates in high-performance domains.
- CyberShadow 10y agoFWIW, D's @nogc makes it easy to trap code that allocates accidentally.