News for hackers. Stuff that matters.
Re:Mio – Cross-platform header-only C++11 library for memory... by rwbt on Saturday October 20, 2018 @02:05PM (#18264551)
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/cla...

Re:Mio – Cross-platform header-only C++11 library for memory... by gpderetta on Saturday October 20, 2018 @03:17PM (#18264909)
There 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.

Re:Mio – Cross-platform header-only C++11 library for memory... by StreamBright on Saturday October 20, 2018 @02:25PM (#18264660)
And? I am not sure what is your comment about.
Re:Mio – Cross-platform header-only C++11 library for memory... by mandreyel on Saturday October 20, 2018 @02:41PM (#18264752)
It'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.
Re:Mio – Cross-platform header-only C++11 library for memory... by cleeus on Saturday October 20, 2018 @03:31PM (#18264971)
boosts quality varies

I've seen parts that weren't much better then someones lib on github, because essentially that's what boost is.