Replies: 2 comments 2 replies
-
Are you planning to sync against a buffer? |
Beta Was this translation helpful? Give feedback.
-
The ffi module has facilities for wrapping pointers returned from c functions with buffers that won’t be realloced. This would let you interact with the memory without copying, although I haven’t thought about all the implications. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am evaluating whether I can build a Janet-native (that is no C-modules) package to interact with lmdb database files (and eventually be able to implement LMDB-compatible key/value store APIs in Janet).
Part of the puzzle -- is that I will need to use memory mapped files facilities as these LMDB files can be very large (more than RAM memory).
Which is why I wanted to ask for a recommendation of existing packages that may deal with OS-specific APIs (for windows and for POSIX oses, as an example).
Beta Was this translation helpful? Give feedback.
All reactions