//
sign in
Post
by @danabra.mov
PostEmbed
by @danabra.mov
Record
by @jimpick.com
Record
by @atsui.org
+ new component
Post
Oh! There was a directly related talk at RustWeek. At 33:44, someone brings up GhostCell; earlier, at 28:05, @aapoalas.trynova.dev talks about a similar approach in gc-arena, and the speaker also mentions Haskell's ST monad, which expresses the same idea. See also: the generativity crate.
1d
www.youtube.com
Common Pitfalls of Rewriting Things In Rust (Cliff L. Biffle at RustWeek)
Nurzhan Saken
YouTube video by RustNL
Thanks to the GhostCell paper for teaching me branded types in Rust via invariant lifetimes. This has been *awesome* for eliminating pretty much all bounds and length checks in my indexing-heavy code (and enforcing more subtle invariants).
9d
plv.mpi-sws.org
GhostCell: Separating Permissions from Data in Rust
Nurzhan Saken