• [$] Toward safe transmutation in Rust

    From LWN.net@1337:1/100 to All on Wednesday, October 23, 2024 18:45:04
    [$] Toward safe transmutation in Rust

    Date:
    Wed, 23 Oct 2024 17:40:38 +0000

    Description:
    Currently in Rust, there is no efficient and safe way to turn an array of bytes
    into a structure that corresponds to the array. Changing that was the topic of Jack Wrenn's talk this year at RustConf : "Safety Goggles for Alchemists" . The goal is to be able to "transmute"
    Rust's name for this kind of conversion values into arbitrary user-defined types in a safer way. Wrenn justified the approach that the project has taken to
    accomplish this, and spoke about the future work required to stabilize it.

    ======================================================================
    Link to news story:
    https://lwn.net/Articles/994334/


    --- Mystic BBS v1.12 A47 (Linux/64)
    * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)