>>106593725
>I once again ask, usecase?
I only once found DST useful.
// WGSL
struct Model {
size: vec4i,
palette: array<Material, 256>,
voxels: array<u32>,
}
I used DSTs in GPU to represent voxel data and to make uploading that data simpler and faster between CPU/GPU, I had to represent them in Rust in the same way as GPU does. It made more sense to do it this way instead of splitting it into multiple storage buffer objects.
It is a niche kind of data structure that has niche uses. That's why there wasn't much push to polish its semantics on the language level.