[Tidbit] making your D code more modular & unittestable

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Wed Mar 8 16:21:48 PST 2017


On Wednesday, 8 March 2017 at 21:34:19 UTC, H. S. Teoh wrote:
> So I came up with an idea to abstract file contents as a 
> random-access range of ubyte with lazy loading, so that I can 
> rewrite file parsing code in the nice

Sounds like what the kernel does when you memory-map a file...


More information about the Digitalmars-d mailing list