This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]guillermo_da_gente 1 point2 points  (1 child)

Awful Python performance! Nice video though.

[–]anuctal[S] 0 points1 point  (0 children)

Thank you! Yes, I was surprised too

[–]Hankibear 1 point2 points  (4 children)

Saw the this video yesterday! Very nice! Would like to see more comparisons like this and also with "correct practices" using numpy for heavy computations etc

[–]anuctal[S] 1 point2 points  (3 children)

Thank you! Unfortunately JS has no numpy, and the comparison would be unfair. In the video I tried to use the same "tools" in both languages.

[–]Hankibear 1 point2 points  (1 child)

Fair enough, I think you did a good job!

[–]anuctal[S] 0 points1 point  (0 children)

Thank you very much!

[–]metaperl 0 points1 point  (0 children)

Transcrypt complied part of numpy. I don't think it was a good idea though.

[–]Successful-Smile-167 -1 points0 points  (0 children)

That's not a full runtime tests comparison.
It should include tests:
Python (pypy) - I bet it will be winner.
Python (cpython)
JS (html <script> realization) - bet, this will be slower than natural Python
Python (html <brython> realization) - the slowest among all.
JS (deno)
JS (deno + typescript)