Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Well, I work with multiple languages and It is pretty fast... In my experience at least 😓
-
Jifuna36889y@linuxxx yeah, but if you compare that too c++ or c for example. It is much slower ofcourse. -
@Jifuna Nope. In my experience it can even be faster sometimes (yes, I've worked with both)
-
@Jifuna literally just ran a lot of benchmarks and compared (like create two things that do the same and compare the time)
-
thaelgar1229yNobody says JS can't be fast under certain circumstances.
But especially if you say something like C is slower u just don't use C to it's full extend and just made a benchmark which is nice to JS. -
Bikonja23648yIt's not about being faster than C++ or something, but it's impressive how fast it is running for an interpreted language. Which begs the question - in which browser. Which is actually similar (but not the same as) how a different compiler makes a difference to your compiled code if there's multiple compilers for that language.
So yeah, a language doesn't necessarily have "speed", it's more about how the available compilers/interpreters run with the language possibly being a bottleneck if you can't split the language commands into smaller chunks of machine code.
Related Rants

What only relying on JavaScript for HTML form input validation looks like
Found something true as 1 == 1
I can't stand this JS is sooo fast bullshit anymore. You just suck at coding if your code with the most other languages is significantly slower.
undefined
js
hipster bullshit
fast