I have experience of porting JS code from one environment to another. First I was using Delphi Application with MS Active Scripting and MS JScript Engine then moved to nodejs on linux, then back to windows on nodejs,…
Ok this intArithm variant (w/o memoization) for NodeJS is 6 times faster (0.54 sec) comparing to naive function intArithm(){ var max_a0 = +process.argv[2], longest = 0, max_len = 0, a0,len, a,z;…
my 2 cents to defend NodeJs 329 837799 naive 3.06 sec 329 837799 decompozed 3.03 sec 329 837799 memoized decompozed 0.52 sec The program https://gist.github.com/xdenser/7722083
it says it is traveling at 1/10 th of light speed. it takes less than minute to get to Mars in pixels, but from other sources I know it takes 13 minutes for radio signal to get to mars. Something does not play here.
How about pure JS PEG generated parser instead of clang? https://github.com/xdenser/node-ffiCparser though that is not finished yet
No you cant. It is NodeJS module referring node-ffi - module allows you to call dynamic libarary functions w/o making your own binary module. So it may be used with NodeJS under Windows. For example you may access COM…
I have experience of porting JS code from one environment to another. First I was using Delphi Application with MS Active Scripting and MS JScript Engine then moved to nodejs on linux, then back to windows on nodejs,…
Ok this intArithm variant (w/o memoization) for NodeJS is 6 times faster (0.54 sec) comparing to naive function intArithm(){ var max_a0 = +process.argv[2], longest = 0, max_len = 0, a0,len, a,z;…
my 2 cents to defend NodeJs 329 837799 naive 3.06 sec 329 837799 decompozed 3.03 sec 329 837799 memoized decompozed 0.52 sec The program https://gist.github.com/xdenser/7722083
it says it is traveling at 1/10 th of light speed. it takes less than minute to get to Mars in pixels, but from other sources I know it takes 13 minutes for radio signal to get to mars. Something does not play here.
How about pure JS PEG generated parser instead of clang? https://github.com/xdenser/node-ffiCparser though that is not finished yet
No you cant. It is NodeJS module referring node-ffi - module allows you to call dynamic libarary functions w/o making your own binary module. So it may be used with NodeJS under Windows. For example you may access COM…