r/javascript • • May 28 '19

What are some JavaScript things beginners don't know?

333 Upvotes

383 comments sorted by

View all comments

46

u/mjeemjaw May 28 '19

Javascript is very fast in modern environments

-3

u/takaci May 28 '19

Yeah people think javascript is slow like python or ruby but actually if you are careful it can be almost as fast as C on modern engines

0

u/[deleted] May 28 '19

[deleted]

8

u/takaci May 28 '19

I'd say that it is quite slow more often than js is

Good performance cases in python are when lots of intense computation is offloaded to C, for example numpy. This isn't true in js which is natively fast

0

u/[deleted] May 29 '19

[deleted]

1

u/takaci May 29 '19

Yes of course sorry, by language I mean the most popular implementations