Julian way of expressing a buffer swap

One reason to prefer a normal struct is that mutable structs make multithreaded code harder to write.

3 Likes