Re:Moving from TypeScript to Rust / WebAssembly
by jashmatthews on Thursday July 09, 2020 @06:17AM
(#23778628)
Only in the most trivial cases. Tons of real Rust uses copying or RC/ARC or even unsafe to avoid dealing with complex lifetimes because it's... complex.
[ Parent
| on HN ]
Re:Moving from TypeScript to Rust / WebAssembly
by Lorkki on Thursday July 09, 2020 @07:31AM
(#23779021)
Copying, refcounting and locking work within the exact same semantics. They're among the most typical tools that are used to transmit or share data, so I'm not sure why it should be strange to see them used in most real programs?