filmov
tv
JavaScript vs Go - side by side comparison
Показать описание
JavaScript vs Go test of the relative performance.
As an example I took a basic prime-finding algorithm with N² complexity.
All found primes are stored in an array/slice and as the result scripts print the length of the array/slice.
I tested a relative speed of code writing, including typos.
And the JavaScript and Go performance.
If you want to check it yourself, then the task was to find all prime numbers from 2 to 250000, and write them to a list/array/slice, and then print the length of the list/array/slice.
FOLLOW ME:
JavaScript vs Go - side by side comparison
The test of Golang vs Javascript performance.
What is faster javascript or golang?
#javascript #golang #redeyedcoderclub
As an example I took a basic prime-finding algorithm with N² complexity.
All found primes are stored in an array/slice and as the result scripts print the length of the array/slice.
I tested a relative speed of code writing, including typos.
And the JavaScript and Go performance.
If you want to check it yourself, then the task was to find all prime numbers from 2 to 250000, and write them to a list/array/slice, and then print the length of the list/array/slice.
FOLLOW ME:
JavaScript vs Go - side by side comparison
The test of Golang vs Javascript performance.
What is faster javascript or golang?
#javascript #golang #redeyedcoderclub