adds code


Enable Subtitles if you are having difficulty following, I understand its quite fast Sample Code to Follow along: find_primes c++ code: find_primes js code: https://github.com/kapydev/native-code-tutorial NAPI_CALL sample (Also in sample code above): https://nodejs.org/api/n-api.html#:~:text=%23define%20napi_call(env%2C%20call) node-gyp installation instructions: https://github.com/nodejs/node-gyp node_api.h location: Windows: C:/Users/USERNAME/AppData/Local/node-gyp/Cache/NODE_VER/include/node Linux/Mac: If you find out please comment, we will pin your comment fhinkel's speed comparison: https://github.com/fhinkel/javascript-vs-native-addon-prime-numbers Check out ezbackend: https://www.ezbackend.io Ask questions about web development / Follow the development of EzBackend Discord - https://discord.gg/RwgdruFJHc Keywords: Native Code, Node, C++, compiled binaries, optimisation
Previous Post Next Post