Making `mmap()` safe
Alex Sayers on reconciling Unix's mmap() with Rust's memory safety rules, at Tokyo Rust.
- When
- Wed, July 29, 2026 · 18:30–21:00 JST
- Where
- Le Wagon Tokyo - Coding & AI Bootcamp · In person
- Region
- Kanto (Tokyo)
- Organizer
- Tokyo Rust
- Language
- EN
- Source
- Guildhost
Summary
Tokyo Rust returns with Alex Sayers, the speaker behind the earlier "Saturating the NIC" talk, for a deep technical session on memory-mapped I/O in Rust. The mmap() system call is an elegant interface for working with files, but it sits awkwardly against Rust's memory safety guarantees because the contents of a mapped region can change underneath the program. The talk asks whether Rust is fundamentally at odds with one of Unix's most useful features, and walks through how the two can be reconciled.
The event is hosted at Le Wagon Tokyo with sponsorship from TokyoDev. There will be pizza, and seating is limited to 50, so attendees are asked to keep their RSVP status up to date if their plans change.
About the community
A recurring Tokyo meetup for Rust programmers, running technical talks in English on systems-level topics such as I/O, performance, and language internals, followed by casual time over pizza.
#rust#systems-programming#memory-safety#mmap#io#meetup#unix