Re:John Carmack on Mutable Variables
by orlp on Friday October 31, 2025 @04:21AM
(#45769515)
Rust works this way, yes. There are escape hatches though, which allow interior mutability.
[ Parent
| on HN ]
Yeah, here's an example: https://play.rust-lang.org/?version=stable&mode=debug&editio...