Comment on Would you use JavaScript compiled to C for your server applicationsComments−gregorkas12yWhat about nodejs? Do you think the performance would be better with javascript compiled to c?−int64OP12yAbsolutely. Node.js is still interpreted by V8 as far as i know. The runtime libs provided by node.js are all written in JS. However, With this initiative, all the runtime libs will be implemented in c as well.−zerohp12yV8 is a JIT interpreter. The performance benefit might be less than you would think.−int64OP12ythanks for the input. Will certainly look into that.
Comments
What about nodejs? Do you think the performance would be better with javascript compiled to c?
Absolutely. Node.js is still interpreted by V8 as far as i know. The runtime libs provided by node.js are all written in JS. However, With this initiative, all the runtime libs will be implemented in c as well.
V8 is a JIT interpreter. The performance benefit might be less than you would think.
thanks for the input. Will certainly look into that.