Is Javascript under V8 faster than equivalent code in other languages?

Does anyone know if Javascript runs on V8 faster than equivalent code in other languages ​​like Python, Perl, PHP, etc. ??

+3
source share
3 answers

Yes, in accordance with the game in computer language , but be careful interpretation of the results of artificial tests .

The default comparison is Java, which is usually faster, but you can compare it with Perl, PHP, and several Ruby and Python implementations. This seems to be faster than in tests that use large integers, because JavaScript does not support them natively.

+1

. , GCC/++ .

http://wingolog.org/archives/2011/06/10/v8-is-faster-than-gcc

enter image description here

, V8 , GCC, , fixnums . -, , , .

AdamK :

. GCC , ant . V8 .

GCC . , - . , + V8 GCC - GCC , .

-1

. , , (, Node.js), , , , ( , ) .

, , , - , .

-3
source

Source: https://habr.com/ru/post/1755368/


All Articles