Article 6RPG9 [$] Toward safe transmutation in Rust

[$] Toward safe transmutation in Rust

by
daroc
from LWN.net on (#6RPG9)

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

External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments