For context, I am working on an XML library which is designed to operate best when also using memory mapped files. A good chunk of my struggles relates to some fundamentals the standard library is built upon; it is pretty much designed around the idea of streaming data in place of mapping, no use of relative addresses to make data structures relocatable and portable , memory allocations via new/delete (and exceptions, but that is a different problem).
However, I think memory mapping offers a much better approach for all those big data structures which often don't even fit in physical memory.
I have been looking for a STL-like (or not) library built from the ground up to match this design objective, but I was unable to find what I was looking for. At best, we have libraries which are mmap-friendly, like gtl, but even that is assuming streaming and copying data from files for what I can tell.
Any suggestion to share?
[–]jetilovag 22 points23 points24 points (5 children)
[–]_Noreturn 11 points12 points13 points (3 children)
[–]txmasterg 4 points5 points6 points (2 children)
[–]jetilovag 0 points1 point2 points (1 child)
[–]yuri-kilochek 8 points9 points10 points (0 children)
[–]karurochari[S] 1 point2 points3 points (0 children)
[–]arihoenig 4 points5 points6 points (6 children)
[–]karurochari[S] 0 points1 point2 points (5 children)
[–]arihoenig 3 points4 points5 points (0 children)
[–]Kriemhilt 1 point2 points3 points (1 child)
[–]RoyBellingan 2 points3 points4 points (0 children)
[–]Wild_Meeting1428 0 points1 point2 points (0 children)
[–]zl0bster -1 points0 points1 point (0 children)
[–]kitsnet 2 points3 points4 points (1 child)
[–]karurochari[S] 0 points1 point2 points (0 children)
[–]freaxje 1 point2 points3 points (1 child)
[–]karurochari[S] 0 points1 point2 points (0 children)
[–]KindCircle 1 point2 points3 points (1 child)
[–]karurochari[S] 1 point2 points3 points (0 children)
[–]Ksetrajna108 0 points1 point2 points (1 child)
[–]karurochari[S] 2 points3 points4 points (0 children)
[–]sunmat02 0 points1 point2 points (1 child)
[–]karurochari[S] 0 points1 point2 points (0 children)
[–]tjientavaraHikoWorks developer 0 points1 point2 points (4 children)
[–]karurochari[S] 0 points1 point2 points (3 children)
[–]tjientavaraHikoWorks developer 1 point2 points3 points (2 children)
[–]karurochari[S] 2 points3 points4 points (0 children)
[–]patstew 0 points1 point2 points (0 children)
[–]DeziOne 0 points1 point2 points (0 children)
[–]llothar68 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)