Giter Site home page Giter Site logo

node v.0.11.x support about node-lmdb HOT 18 CLOSED

johnnycrab avatar johnnycrab commented on August 25, 2024
node v.0.11.x support

from node-lmdb.

Comments (18)

Venemo avatar Venemo commented on August 25, 2024

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.

johnnycrab avatar johnnycrab commented on August 25, 2024

That sounds great, thanks a lot and good luck for the exams! :)

from node-lmdb.

konobi avatar konobi commented on August 25, 2024

You should have a look at @rvagg's "nan" module on npmjs, it allows you to make addons somewhat version independent.

from node-lmdb.

Venemo avatar Venemo commented on August 25, 2024

Thanks for the suggestion!

from node-lmdb.

Venemo avatar Venemo commented on August 25, 2024

I'll probably have the time to fix it this week. Thank you for your patience!

from node-lmdb.

johnnycrab avatar johnnycrab commented on August 25, 2024

Any updates on this? :)

from node-lmdb.

Venemo avatar Venemo commented on August 25, 2024

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.

Venemo avatar Venemo commented on August 25, 2024

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.

Venemo avatar Venemo commented on August 25, 2024

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.

rvagg avatar rvagg commented on August 25, 2024

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.

Venemo avatar Venemo commented on August 25, 2024

@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.

rvagg avatar rvagg commented on August 25, 2024

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.

MarkSwanson avatar MarkSwanson commented on August 25, 2024

@Venemo need a beta tester?

from node-lmdb.

Venemo avatar Venemo commented on August 25, 2024

@MarkSwanson sure! I'll let you know when it's in a testable state :)

from node-lmdb.

justmoon avatar justmoon commented on August 25, 2024

Created a PR: #35

CC @MarkSwanson @jackhftang @johnnycrab

from node-lmdb.

Venemo avatar Venemo commented on August 25, 2024

@justmoon Thanks! :) Very good job!

from node-lmdb.

jackhftang avatar jackhftang commented on August 25, 2024

@justmoon Thanks!

from node-lmdb.

Venemo avatar Venemo commented on August 25, 2024

@johnnycrab @justmoon So I think I can close this issue now, right?

from node-lmdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.