Hacker News new | past | comments | ask | show | jobs | submit login
Modern C++ isn't memory safe, either (neosmart.net)
12 points by ComputerGuru on Feb 22, 2018 | hide | past | favorite | 3 comments



I never thought C/C++ was memory safe because you can still do inline assembly.

https://www.cs.uaf.edu/2012/fall/cs301/lecture/10_01_link_wi...


When someone says "modern" C++, they aren't talking about inline assembly. They aren't even talking about raw pointers.


What @AnimalMuppet said; but also as a sidebar: MSVC disallows inline assembly for x64 targets.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: