@andrea About the issue. You are right I should explain a bit more. I try to get something as [std::span](https://forum.nim-lang.org/open-std.org/JTC1/SC22/WG21/docs/papers/2016/p0122r1.pdf) from c++ into the standard library of Nim. That document explains it much better that I could do it in this post. The idea is that you could easily transform a memory mapped files, strings and seq types into a span, and then use this as an interface for your API. There is no need to know that the data is actually from a memory mapped file in your library.
I should actually put that link to the pdf to the original issue, too. I was not able to find this originally when I wrote the issue.
