3 ms·
I used to work on routers that essentially ran embedded linux inside and our new projects started all being c++ after a while. It's amazing after the switch to
by umvi 7y ago
I used to work on routers that essentially ran embedded linux inside and our new projects started all being c++ after a while. It's amazing after the switch to c++, we basically stopped ever seeing string/array related segmentation faults now that developers use std string/vector/etc by default. Yeah, it's more resource expensive, but we have plenty of RAM now on these boards and it's totally worth not having a maintenence nightmare like our legacy C projects which I swear get a new bug report every other month about a newly discovered string/array-related segmentation fault (I'm not saying C++ can't ever be a maintenance nightmare, to be clear, but as far as memory related issues go, they disappeared the moment we started using std library).
- papermachete 7y agoInteresting, did you make your own allocators? Can you tell me the company?