3 ms·
For those of you already using Boost, Boost also has a MMAP in their IOStreams library and it works pretty well (like most things boost). https://www.boost.org
by rwbt 8y ago
For those of you already using Boost, Boost also has a MMAP in their IOStreams library and it works pretty well (like most things boost).
https://www.boost.org/doc/libs/1_68_0/libs/iostreams/doc/classes/mapped_file.html https://www.boost.org/doc/libs/1_68_0/libs/iostreams/doc/cla...
- StreamBright 8y agoAnd? I am not sure what is your comment about.
- mandreyel 8y agoIt's a valid point, I think. I'd probably also trust something so established as Boost more than some random guy's lib on GitHub. However, I specifically wrote mio because I prefer not to use Boost, and from what I understand, many others don't either.
- cleeus 8y agoboosts quality varies I've seen parts that weren't much better then someones lib on github, because essentially that's what boost is.
- gpderetta 8y agoThere is also boost interprocess which, despite the name, provides a very general way to access shared memory; in particular it provides shared memory allocators and a full reimplantation of the stl that can take advantage of them. I've always wanted to try irt, but it can't handle unexpected process failure (i.e. a crashed process will leave the memory in an unknown state) which is something I always end up needing.