Comments (18)
Hi,
Have they removed ObjectWrap
? That's interesting. Anyway, yes, I do plan to port it to the new Node.js version but I ask for a bit of patience here, because at the moment I'm quite caught up in exams. :)
from node-lmdb.
That sounds great, thanks a lot and good luck for the exams! :)
from node-lmdb.
You should have a look at @rvagg's "nan" module on npmjs, it allows you to make addons somewhat version independent.
from node-lmdb.
Thanks for the suggestion!
from node-lmdb.
I'll probably have the time to fix it this week. Thank you for your patience!
from node-lmdb.
Any updates on this? :)
from node-lmdb.
I've been caught up in some life issues, but haven't forgotten about this module. Stay tuned, it's coming soon :)
from node-lmdb.
Hi @johnnycrab,
So I've finally managed to find the time for this. Sorry for taking so long. I'm trying to get a hold of node 0.11 (at this moment 0.10 still seems to be the latest and node-lmdb builds on it just fine). Will let you know how I progress.
from node-lmdb.
I now have a rudimentary version that compiles against node v0.11.14
but it's still rough and has a few bugs, but I'm on the good way. You were right, nan is indeed of great assistance, although I can't help but feel that it's just a heap of hacks. :)
from node-lmdb.
NAN is the very definition of a pile of hacks, but it's the best pile of hacks we have at our disposal!
from node-lmdb.
@rvagg No offence meant. As I said, it's a great help. :)
(The only thing that was missing so far was support for external string resources, but I handled that with an ifdef of my own.)
from node-lmdb.
external strings should be handled, feel free to steal code from https://github.com/rvagg/node-leveldown/ to make this work, the code here was forked from there initially and will still loo very similar. LevelDOWN is now using recent NAN to get 0.11.14 support.
from node-lmdb.
@Venemo need a beta tester?
from node-lmdb.
@MarkSwanson sure! I'll let you know when it's in a testable state :)
from node-lmdb.
Created a PR: #35
CC @MarkSwanson @jackhftang @johnnycrab
from node-lmdb.
@justmoon Thanks! :) Very good job!
from node-lmdb.
@justmoon Thanks!
from node-lmdb.
@johnnycrab @justmoon So I think I can close this issue now, right?
from node-lmdb.
Related Issues (20)
- Asynchronous batch write data types HOT 6
- Process memory balloons on create/close of multiple environments HOT 22
- Create github discussion board or slack for general questions
- Incremental backup and restore HOT 1
- Missing tags and releases on github?
- LMDB file gets created with maximum size when activating useWritemap option HOT 2
- Build errors under Node 16.1.0 HOT 9
- mdb_copy: copying failed, error -30784 (MDB_INCOMPATIBLE: Operation and DB incompatible, or DB flags HOT 2
- mkdirp throws error on running benchmark
- Use of deprecated Buffer in example code
- node-gyp rebuild error HOT 17
- property name readonly in `index.d.ts` should be readOnly HOT 1
- test: the worker thread in fact has no chance of receiving messages from the main thread
- In README.md you forgot to specify which kinds of "numbers" are supported HOT 1
- Append mode is not working correctly for string keys with character codes larger than 255 (MDB_KEYEXIST error) HOT 3
- Automatic map resizing HOT 3
- Program exit on Env.open HOT 1
- ERR_DLOPEN_FAILED error using pkg on windows (to create tauri sidecar)
- Suppress unsafeNoLock warning HOT 1
- Unsupported versions cause GH Actions failures HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-lmdb.