-
Notifications
You must be signed in to change notification settings - Fork 5
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
Migrate to N-API (fixes #6) #8
base: master
Are you sure you want to change the base?
Conversation
Is there anything that prevents this from merging? |
I don't know, no sign from @jorangreef since I have created it while I see that he continues telling people that he will do the N-API migration soon, likely by himself. I am disappointed, I tried to help... |
Thanks @Jule- ! Sorry, somehow I missed this. What I meant by moving to N-API, was moving to the pure C N-API, i.e. no more C++. |
@jorangreef no problem it happens. 😉 Why do you want to go for pure C N-API ? Is C++ node-addon-api not enough? |
It's pure C :) |
@jorangreef Do you think that we could use Jule-'s changes meanwhile the C version gets through? I used Jule-'s commit (with Off-topic: I see @jorangreef you have the Off-topic 2: Like to your profile pic @Jule- ! Great compact utility library by the way |
Thanks @edmundo096 , I don't want to push a new release unless it's N-API, and you should be able to cherry pick that PR if needed? Thanks for the dev dependency tip. I will do that in the next N-API release. I hope to get to this soon! |
I do not understand why not releasing a intermediate version... Whatever, it could be interesting to see the pure C improvement and which application could benefit of this C implementation performance upgrade if it really exists. I am not an expert on the subject but IMHO you will hit drives bottleneck way before the C++ overhead if you are trying to batch parallelized file changes. Just curious. Off-topic: Thanks @edmundo096! 😅 |
Thanks @Jule-, It's not for performance. C is cleaner, especially using the N-API C library. |
Ok @jorangreef, looking forward to see your implementation! 🙂 Thanks again for this useful lib! 👍 |
Any news? |
Has anyone tried https://github.com/baileyherbert/utimes? Looks like it's trying to be a fork of this lib to support modern node versions. |
@jlindberg-oss nope, didn't test it but it seems he has took my compatibility changes so it should be ok. @baileyherbert thanks for doing it, I have been so close to do it... 😅 |
@jlindberg-oss I just tried https://github.com/baileyherbert/utimes and it works on latest macOs 👍 |
As mentioned it fixes #6, in other words it is working with Node V12.