abstract-machine

1 article
sort: new top best
clear filter
0 6/10

This article explains how inline assembly semantics fit into the Rust Abstract Machine by proposing a "storytelling" approach: every inline assembly block must have a corresponding Rust code equivalent that describes its observable behavior, allowing the compiler to reason about soundness and apply optimizations correctly. The author demonstrates why inline assembly cannot arbitrarily violate Abstract Machine constraints like aliasing rules, even though assembly itself doesn't have these concepts.

Rust Tree Borrows Stacked Borrows Miri rustc
ralfj.de · ingve · 10 hours ago · details · hn