arturadib / node-qt

C++ Qt bindings for Node.js
http://documentup.com/arturadib/node-qt
Other
1.62k stars 172 forks source link

This is here to inform you that there are better ways of doing bindings. #10

Closed eddyb closed 12 years ago

eddyb commented 12 years ago

First of all, you are doing a great job. Second, you're writing vanilla v8 bindings, not the best of things. I had a couple of projects aimed at better bindings. The one I started with was before node, and is now dead. I thought about rewriting node.js in it, but I didn't have the power to finish that either. Here's an example: https://github.com/eddyb/gearbox-node/blob/master/src/modules/tty.gear (if it looks bad, it's because of the lack of highlighting). I had a successful attempt at using a portable version of it in a node module, would you want that?

arturadib commented 12 years ago

This is the weirdest comment... Not sure how to respond. Node-Qt is a Node addon, and I'm following the guidelines in Node's addon docs at http://nodejs.org/docs/latest/api/addons.html#addons_addon_patterns (written by yours, truly).

eddyb commented 12 years ago

Whatever. Thought you might like being able to write bindings easier. I guess you don't.