📰 図を描いて理解するRustの所有権 (👍 41)

🇬🇧 Visual guide to understanding Rust's ownership system using diagrams and chemistry analogies (H₂ + O₂ → H₂O) to explain memory safety concepts.
🇰🇷 다이어그램과 화학 반응 비유를 활용하여 Rust의 소유권 시스템과 메모리 안전성 개념을 시각적으로 설명합니다.

🔗 https://zenn.dev/northward/articles/rust-feeling-of-ownership

#Rust #Ownership #MemorySafety #Zenn

図を描いて理解するRustの所有権

Zenn

People often claim that memory-safe languages eliminate the class of memory bugs, but that is not true and can give less experienced devs a false sense of security.

You can violate borrow checker at runtime in Rust with zero unsafe blocks. You can have null-pointer dereference in C#. You can index out of bounds in Java.

The difference is that while C++ will crash at unspecified time with SIGSEGV (or not crash at all), memory-safe languages will either crash at a well-defined time in a well-defined way, or they will emit an exception you shall handle.

In the customers eyes, that might not even be a difference.

#programming #memorysafety #cpp #rust

Soon on github: rilua - a Rust port of Lua 5.1. Key upgrades:

✅ Arena-based GC with gen. indices - no memory corruption
✅ Result-based errors - no longjmp/setjmp risks
✅ AST compilation - testable, optimizable pipeline
✅ Trait-based API - ergonomic embedding

Passes 19/23 PUC-Rio tests. Sacrifices some speed (0.9-2.2x) for memory safety & maintainability.

#rustlang #lua #gc #memorysafety

WhatsApp migrated 160,000 lines of C++ to Rust to eliminate memory-safety bugs. Here’s how compiler-level security changed its threat model.

More details here: https://ostechnix.com/why-whatsapp-migrated-to-rust-from-c/

#Whatsapp #Rust #C++ #Meta #MemorySafety #Security

Why WhatsApp Migrated to Rust from C++ (And What It Fixed) - OSTechNix

WhatsApp migrated 160,000 lines of C++ to Rust to eliminate memory-safety bugs. Here’s how compiler-level security changed its threat model.

OSTechNix

"Rust is much more type safe than C is. And so if you have a void pointer, what does that mean in Rust? There's no translation for it. And that's how TrapC is fundamentally different because it actually remembers what that void pointer actually is."

#programming #MemorySafety

https://www.theregister.com/2026/01/26/trapc_claude_c_memory_safe_robin_rowe/

How one developer used Claude to build a memory-safe extension of C

feature: Robin Rowe talks about coding, programming education, and China in the age of AI

The Register
Oh, joy! 🎉 Another ode to the almighty null pointer, where we learn that catching them is as easy as catching a cold in winter 🌨️. But wait, the "Billion Dollar Mistake" is just a misunderstood little rascal 🙄, because, really, who needs memory safety when you have "individualelement mindsets" to blame? 😂👨‍💻
https://www.gingerbill.org/article/2026/01/02/was-it-really-a-billion-dollar-mistake/ #nullpointer #billiondollarmistake #memorysafety #programminghumor #technews #HackerNews #ngated
Was it really a Billion Dollar Mistake? - gingerBill

Ah yes, the age-old quest for a Rust paradise without the meddling borrow checker—because clearly, who needs memory safety when you can live on the edge? 😂🔪 Why bother with the pesky details of secure coding when you can just throw caution to the wind and #YOLO your way through software development? 🙈💻
https://github.com/buyukakyuz/rustmm #RustParadise #MemorySafety #SoftwareDevelopment #CodingHumor #EdgeOfChaos #HackerNews #ngated
GitHub - buyukakyuz/rustmm: Rust without the borrow checker

Rust without the borrow checker. Contribute to buyukakyuz/rustmm development by creating an account on GitHub.

GitHub

This week on #OpenSourceSecurity I chat with @djc and @ctz about #Rustls. A lot has happened with Rustls in the last few years (and there's a lot more to come). Writing a TLS implementation is incredibly complicated, even when you don't have to worry about memory safety

https://opensourcesecurity.io/2025/2025-12-rustls-dirkjan-joe/

#TLS #Rustls #Rust #MemorySafety

Rustls with Dirkjan and Joe

Josh talk to Dirkjan and Joe about Rustls (pronounced rustles), a Rust-based TLS library. Dirkjan and Joe are developers on Rustls. We talk about the history that got us to this point. The many many challenges in writing a TLS library (Rust or not). We also chat about some of what’s to come. Rustls has an OpenSSL compatibility layer which makes is a really interesting project. Episode Links Dirkjan Joe Rustls This episode is also available as a podcast, search for “Open Source Security” on your favorite podcast player.

Open Source Security
Prossimo

ISRG's Prossimo is moving critical software to memory safe code.

Prossimo
Oh no! 🙈 The invincible #Rust code has been dethroned by a pesky #CVE #vulnerability in the Linux Kernel. 🚨 Guess the "memory-safe" bragging rights were too good to be true! 😂
https://www.phoronix.com/news/First-Linux-Rust-CVE #LinuxKernel #MemorySafety #TechNews #HackerNews #ngated
Linux Kernel Rust Code Sees Its First CVE Vulnerability

The first CVE vulnerability has been assigned to a piece of the Linux kernel's Rust code.