2 ms·
While this is true most of the time, it's not entirely correct. Python for example is also compiled into *.pyc files, but it's still slower than go. The real
by takeda 10y ago
While this is true most of the time, it's not entirely correct.
Python for example is also compiled into *.pyc files, but it's still slower than go.
The real reason why Go would be faster than JS, is not as much about compiled/not compiled but statically typed vs dynamically typed.
In statically typed language the types are already predetermined early on (during compilation) so the code no longer has to perform type checking at runtime.