3 ms·
Any Rust people around willing to speculate about adding data layout options? Would it be easy or hard, and would it be something current Rust hackers might con
by zurn 11y ago
Any Rust people around willing to speculate about adding data layout options? Would it be easy or hard, and would it be something current Rust hackers might consider doing or would it take a volunteer with a mission?
- steveklabnik 11y agoWe already provide a repr attribute which controls representation to some degree, though it doesn't do anything like this. At the moment, I think it would be a volunteer with a mission: I'm not aware of anyone who's even directly indicated that they'd like this feature anywhere official yet, let alone made a proposal. That doesn't mean it's bad, I just mean it's not directly on our radar at this time.
- Jweb_Guru 11y agoLots and lots of people have indicated interest in more precise data layout options. Someone even tried to make AoS vs SoA in a macro.