node-raylib icon indicating copy to clipboard operation
node-raylib copied to clipboard

C99 NAPI

Open konsumer opened this issue 3 years ago • 0 comments

As mentioned in #160 we should use C99.

Use the C N-API calls, rather than the C++ napi lib. napi adds allocations and wrappers to work with C++. Unless you are using classes, the overhead is not worth it. And, you will probably end up with a smaller .node file.

konsumer avatar Aug 18 '22 02:08 konsumer