Benjamin Byholm
Benjamin Byholm
It would be interesting if every typed array function could be fully supported in a nice fashion, doing just a handful is less attractive. `NAN_METHOD` does nothing more than define...
Implement wrapper classes for each type using the interface of newer V8 and make it work consistently. Basically want the look and feel to be as close to latest V8...
Wasn't EventEmitter removed? joyent/node@4ef8f06fe62edb74fded0e817266cb6398e69f36 IIRC, you are simply not supposed to emit events from native-land. It should be done with javascript. The easiest way being to define a js callback...
Oh my. In that case, zmq does it quite nicely. https://github.com/JustinTulloss/zeromq.node/blob/96bd7811a41eaac8f30dfed58769752f55ab2e3d/binding.cc#L304-322 but porting the mentioned example should be very easy.
V8 has MaybeLocal do conversion. I was a bit befuddled regarding Persistents, but tried to stick to that of V8 3.19 or so, which was the last one with single...
There, turned out there were rather many wrong things which had been masked by implicit conversion. Now it should be sorted out.
Skirting, but never crossing. Nothing is virtual and no child has added any data members. Additionally, the horrible things only occur for old versions, which will not change retroactively.
I changed the casts to `static_cast` and added some tests to help put your mind at ease.
Thanks for looking through this. I did find an edge case in that it is now not reasonably possible to actually copy a `Global` from another `Global`. It will require...
Yes, it would surely be possible to support the napi subset of features. See https://github.com/nodejs/nan/pull/831#issuecomment-448408539. Unfortunately, I do not have time to do it myself, but overall it should be...