Skip to content
0:00 / 0:00

#memorysafety#c++#rust

It’s Not As Simple As “Use A Memory Safe Language"

S4 Events

9.2K subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 1 on Lobsters and 1 in engineering communities.
  • Presented by Colin
  • An opinion. It argues one side of a question engineers disagree on.

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.

Why it's here

2 people recommend this

What people say. Recommended as a pragmatic perspective on memory safety, sandboxing, and securing legacy C and C++ codebases.

olegkovalovon Lobsters • Recommends

It’s Not As Simple As “Use A Memory Safe Language" - YouTube

u/morglodin r/programming • Recommends

On “Does using Rust really make your software safer?”

Yeah maybe you say something about bound checks in C? Or invariant analysis? No? Mmm classic crab People usually need some higher authority opinion: link to this video