News for hackers. Stuff that matters.
Re:A bug story: data alignment on x86 by hsivonen on Monday November 07, 2016 @11:48AM (#12892464)
Types in Rust have alignment as in C, and bad stuff may happen if you use unsafe code to violate alignment.

It seems that at present, if you want to generate an unaligned SSE2 load/store, you have to rely on modern memcpy (spelled copy_nonoverlapping in Rust) optimization. See the first reply to https://internals.rust-lang.org/t/unaligned-simd-sse2-in-par...

There are no comments on this comment yet.