For the last thing, is this what you want? https://github.com/JuliaArrays/PaddedViews.jl
There may be other packages or methods for doing the other things you want. I’d think that broadcasting over a NamedTuple would iterate over the key => value pairs, but I haven’t tried it.