I’m working on a rust implementation of Apache Arrow and one of the requirements is to have 64-byte aligned arrays of primitive types so I cannot simply use
Vec<T> but have had to implement my own type that uses libc and lots of unsafe code.
I saw that Rust 1.25 introduced byte-aligned structs with
#[repr(align(16))] and if I could somehow do the same for Vec I would be very happy. I’m wondering if any language features are in the works for this or whether there are other strategies for this?