Cap'n Proto for D v0.1.2

Thomas Brix Larsen via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Apr 19 12:30:03 PDT 2017


On Wednesday, 19 April 2017 at 18:24:46 UTC, Jay Norwood wrote:
> [...]
>
> Ok, thanks. I took a look at several capnproto implementations 
> just now, and didn't see any tests for a mmap 'feature'.  The 
> roadmap doc below indicates it doesn't exist, and perhaps there 
> are some details yet to be resolved to make it 'friendly' for a 
> mmap.

But reading using random access *is* a feature of Cap'n Proto. So 
when reading a memory mapped Cap'n Proto file, getters will be 
faster if you use it in a non-sequential way.

The format of Cap'n Proto doesn't currently support *writing* to 
a memory mapped file.



More information about the Digitalmars-d-announce mailing list