-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.8.1-wip #64
Conversation
If you opened this PR in order to get a LGTM then LGTM. :-) |
heh, no, just to bundle stuff up for an 0.8.1, just fixing the tests didn't seem enough for an actual release. |
This should be enough for releasing 0.8.1, but I think 0.9.0 would be more appropriate. |
Affected: `NanAssignPersistent`, `NanInitPersistent`, `NAN_WEAK_CALLBACK`
@kkoopa given the type arg stuff in particular, this is probably a 0.9 release; agree? |
Yes it is. Documentation still needs updating. However, I have not been able to find out how the new weak callbacks differ from the old. In the past you would commonly call |
I think This also means we would have to introduce a |
I've asked TJ for a new 0.11 release, I'll push again this week. There seems to be a focus on 0.12 atm, which is unfortunate, plus everyone's distracted with all the AsyncListener changes. What we really need is a new release that fixes the 0.11.11 problems and upgrades V8 so we can test and fix. |
Yes, that would be most appropriate. I think I know how the persistent stuff is to be done now. https://github.com/indutny/node/blob/feature/update-v8-3-24/src/smalloc.cc uses a |
Yeah, it compiles at least. But, there is a whole lot of boilerplate. This could quite easily be reduced and hidden away in NAN. |
But this would leak the original |
It would be possible to construct something like this: |
I think that'd be ok, at least it looks NANish, I can't speak to the specifics because I don't have use for weak callbacks (yet). If you can get this happily working with old and new v8 cross-platform then 👍 from me! |
Should the |
ahhhh.. I'm really not sure, I have about 100 things going on at the moment so I'm not able to think clearly about any of them. I'd say to start simple and complicate later if you run into real problems when you start using it in real projects. Bumping minor isn't a big deal if we add new stuff. |
0.11.12 is out now |
No description provided.