perpetual: new module for mapping file into memory

Sergei Degtiarev via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Aug 17 12:18:52 PDT 2015


On Monday, 17 August 2015 at 19:00:37 UTC, Liam McSherry wrote:
> Is there any difference between `std.mmfile` and your solution?

Implementation at system level is similar, the approach is 
different. std.mmfile returns uninitialized chunk of memory, 
std.perpetual returns an object which can be viewed and 
manipulated like regular object of the underlying type. This is 
kind of OOP approach to shared memory.





More information about the Digitalmars-d-announce mailing list