How to use storytelling to fit inline assembly into Rust
The Rust Abstract Machine is full of wonderful oddities that do not exist on the actual hardware. Inevitably, every time this is discussed, someone asks: “But, what if I use inline assembly...
The Rust Abstract Machine is full of wonderful oddities that do not exist on the actual hardware . Inevitably, every time this is discussed, someone asks: “But, what if I use inline assembly? What happens with provenance and uninitialized memory and Tree Borrows and all these other fun things you made up that don’t actually exist?” This is a great question, but answering it properly requires some effort. In this post, I will lay down my current thinking on how inline assembly fits into the Rust Abstract Machine by giving a general principle that explains how anything we decide about the semant
related reading
- Everyone Says Assembly Is Untyped—Everyone Is Wronggingerbill.org
- Rust Optimization.md · GitHubgist.github.com
- Rewriting Bun in Rust | Bun Blogbun.com
- A Gentle Introduction to LLVM IR · mcyoungmcyoung.xyz
- Inline In Rustmatklad.github.io
- Rust Language Cheat Sheetcheats.rs
- A half-hour to learn Rustfasterthanli.me
- Learn Rust the Dangerous Waycliffle.com
- Writing an OS in Rustos.phil-opp.com
- Measure What You Optimizecliffle.com
- A Gentle Introduction to LLVM IR · mcyoungmcyoung.xyz
- GitHub - knurling-rs/flip-link: Adds zero-cost stack overflow protection to your embedded programsgithub.com