4 ms·
>"Finally, the address sanitizer helps you with that, however I wonder how many actually do use sanitizers?" I use C++ to write general backend servers / web a
by FpUser 4y ago
>"Finally, the address sanitizer helps you with that, however I wonder how many actually do use sanitizers?"
I use C++ to write general backend servers / web apps among the other things. Not a single one ever deployed without passing sanitizer tests.
Not that my code would ever look like the examples above. I personally consider modern C++ safe enough for decent level programmer.
Of course I can not guarantee safety buy my servers run non stop servicing tens of thousands of client for months between updates without any hick-ups.
I looked at Rust to see if it can offer me any practical advantage vs modern C++ for what I do and so far did not see anything convincing enough.
- mk89 4y agoThanks a lot for your answer! EDIT: Just to know: clang sanitizers or anything else?
- FpUser 4y agoclang
- pjmlp 4y agoI suppose you aren't working on teams of enterprise shops scale, with the various skill sets of contractor that it entails.
- FpUser 4y agoI've written software for enterprises of Bell scale, but yes the team was small and always under my control. I still work mostly alone (hire subcontractors occasionally). My interactions with other systems is by network APIs so I do not have incompetents screwing with my code. I understand that this is rather unique position but this is what I wanted, worked for and had managed to achieve. I mostly design and create products from start to finish for my clients. Been on my own for 20+ years already. BTW. I doubt that Rust or any language for that matter can be a cure from shitty programmers. Some help sure but they'll manage to fuck things up regardless on a different level.
- pjmlp 4y agoThey make wonders on the hands of Infosys and Wipros of the IT world. I am quite happy no longer to do code review of such deliveries. Hence why I only use C++ on personal projects.