olegkovalovon Lobsters • Recommends
It’s Not As Simple As “Use A Memory Safe Language" - YouTube
9.2K subscribers • 1 video on Hallway
Intermediate. Assumes working knowledge.
33K views1 year ago2 recommendations
SecuritySystems programmingWeb and application securityPerformance and optimizationC
Colin discusses the challenges of migrating legacy C and C++ codebases to memory-safe languages and explores incremental security improvements like sandboxing.
The US and other governments, OWASP, and almost every authoritative source prioritizes using memory-safe programming languages, discouraging the use of C and C++ and proactively recommending Rust. This is great if you are starting over or can rewrite your codebase. This session focuses on what is also needed, guidance on how to incrementally move C and C++ forward. The ease of writing memory-safe C++ is getting closer to Rust, WebAssembly can further sandbox code without sacrificing performance, and for projects using languages that are not memory safe, they should publish their security programs and demonstrate their comprehensiveness if they are to be considered for critical infrastructure. Colin offers a practitioner's perspective on memory-safe languages, formal verification, making quality visible, sandboxing with WebAssembly, and embeddeding open-source code written in memory-unsafe languages. Future software should be memory safe, but secure code is about a lot more than memory safety.What people say. Recommended as a pragmatic perspective on memory safety, sandboxing, and securing legacy C and C++ codebases.
olegkovalovon Lobsters • Recommends
u/morglodin r/programming • Recommends
On “Does using Rust really make your software safer?”