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
Explore this link on the map →related reading
- A Gentle Introduction to LLVM IR · mcyoungmcyoung.xyz
- A half-hour to learn Rustfasterthanli.me
- Rust Optimization.md · GitHubgist.github.com
- Rust Language Cheat Sheetcheats.rs
- Rewriting Bun in Rust | Bun Blogbun.com
- Inline In Rustmatklad.github.io
- Writing an OS in Rustos.phil-opp.com
- A Gentle Introduction to LLVM IR · mcyoungmcyoung.xyz
- LLVM is Smarter Than Meblog.sulami.xyz
- What is Ownership? - The Rust Programming Languagedoc.rust-lang.org
- Many can write faster asm than the compiler, yet don't. Why? — LessWronglesswrong.com
- Linux in a Pixel Shader - A RISC-V Emulator for VRChatblog.pimaker.at