node-memcpy
node-memcpy copied to clipboard
Incompatible with node > 0.12
This package is great, but cannot be installed on node versions after 0.12. Do you have any plans to update this to be compatible with newer versions?
The javascript code is still valid on later versions, but since the build fails the module isn't added and therefore cannot be used.
+1
I'm working on updating the code to create a new pull request in an effort to make this module compatible with higher versions of Node. If the need arises, I will create a new npm package for this. I will also create an issue on gcloud to provide better support.
Ok, this is going to take longer than expected. I actually have to rewrite the entire thing...it would appear nan
now uses a newer syntax for C++, which is causing a lot of errors
Ok, so I managed to fix the issues...but it is still failing 1 test, and it no longer works on versions of node <4. YOLO...anyhow, I cannot figure out why this test is failing...I have tried and tried and tried, but it's not doing what I want it to.
Hello sethmurphy18, thanks for your changes :) Any chance of having it merged to the main memcpy repository?
What is the latest version of node with which this is compatible? It fails to build on 6.10.2 (latest LTS release) and 7.8.0 (latest unstable release). I'm using a very stock 16.04 version of Ubuntu.
0.12 so waay back.
Note that since node 4.0.0, Buffers are Uint8Arrays backed by an ArrayBuffer anyway. This change effectively renders this module useless (at least for my initial use case), hence it hasn't been updated anymore.
Oh well, never mind. I am as careful as possible to write no-copy buffer code when I can but sometimes it's unavoidable that data needs copying so there's still a use case I believe. Wish I had time to investigate further.