2 ms·
That kind of reminds me of dumpable [1] library doing a similar thing in C++. [1] https://github.com/ipkn/dumpable https://github.com/ipkn/dumpable
by lifthrasiir 8y ago
That kind of reminds me of dumpable [1] library doing a similar thing in C++.
[1] https://github.com/ipkn/dumpable https://github.com/ipkn/dumpable
- jamii 8y agoHuh, yeah, this is surprisingly similar, even down to needing a custom pointer type to do the offset<->pointer conversion - https://github.com/ipkn/dumpable/blob/master/dptr.h#L64-L69 https://github.com/ipkn/dumpable/blob/master/dptr.h#L64-L69