MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
rust
Recherche

[$] Toward safe transmutation in Rust

mercredi 23 octobre 2024, 19:40 , par LWN.net
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.
https://lwn.net/Articles/994334/

Voir aussi

News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Date Actuelle
dim. 22 déc. - 14:09 CET