Stream: wg-secure-code

Topic: Safe transmutes


Shnatsel (Dec 18 2019 at 17:13, on Zulip):

There is a fairly active effort to come up with a safe transmute API, see #project-safe-transmute
There is also a pre-RFC here and someone is drafting an RFC.
This would be nice to see - right now we have 5 incompatible crates for the job, each with its own downsides

Shnatsel (Dec 18 2019 at 17:15, on Zulip):

In fact this is big enough to warrant its own repo: https://github.com/rust-lang/project-safe-transmute

Tony Arcieri (Dec 18 2019 at 17:32, on Zulip):

neat

Shnatsel (Dec 29 2019 at 15:21, on Zulip):

The typic crate is pushing the envelope on what kind of transmutes are possible in safe Rust: https://www.reddit.com/r/rust/comments/eh67wi/typic_safe_zerocost_transmutations/

Last update: Apr 05 2020 at 00:40UTC