jswrenn / typic

Type-safe transmutations between layout-compatible types.
https://crates.io/crates/typic
Apache License 2.0
120 stars 4 forks source link

soundness link URL update #8

Closed rich-murphey closed 4 years ago

rich-murphey commented 4 years ago

the "soundness" link retrieves a lib.rs page saying "The requested resource does not exist ". I'm not sure if this was the intended link but it looks like it might be relevant discussion.

BTW, Cool stuff! Could this be valuable in enhancing Rust 64bit application to Rust 32bit Wasm foreign function interface safety for passing zero-copy structs? If nothing else, it's certainly helping me understand more about memory representation. Thanks!!!

jswrenn commented 4 years ago

Thanks!!

Could this be valuable in enhancing Rust 64bit application to Rust 32bit Wasm foreign function interface safety for passing zero-copy structs?

I don't know anything about the challenges of doing that sort of thing, but if it's anything where having guarantees about memory laytes would be helpful, then probably yes!