Virtual files

angel andrey.gelman at gmail.com
Thu Dec 6 08:43:10 UTC 2018


On Thursday, 6 December 2018 at 02:48:59 UTC, solidstate1991 
wrote:
> While working on a lot of enhancements for emesx'es tga library 
> (almost a rewrite), I was thinking on implementing a way for 
> handling memory locations as files, which would make handling 
> archives mush easier, since I wouldn't have to write a separate 
> overload (or more) for loading files from memory every time I 
> need access to a new type.
>
> I'm thinking on making a library for it. Let me know if you 
> want to add any additional functions. I'll making it under the 
> Boost license, and also planning to add better binary writing 
> and reading capabilities (e.g. direct reading and writing of 
> simple types and certain structs).

Didn't you think in the opposite direction - a memory mapped file 
(std.mmfile), accessing a file like it were a memory location ?


More information about the Digitalmars-d mailing list