News for hackers. Stuff that matters.
Re:We've been lied to: JavaScript is fast by mohanmcgeek on Sunday October 10, 2021 @11:33PM (#28824369)
I've never heard anyone tell me that JavaScript is slow.

I remember node.js benchmarks in the front page of hn showing it to be as fast as hotspot jvm. And this was pre 2012.

And since node is single threaded, you had to run n.cores instances of your app.

For the longest time as a kid what I was lied to was that Java was much slower than Ruby/Python and my perception was painted by the startup times.

Re:We've been lied to: JavaScript is fast by mc13 on Monday October 11, 2021 @01:08AM (#28824878)
Java is probably 10 times faster than JS and Pyrhon.
Re:We've been lied to: JavaScript is fast by mohanmcgeek on Monday October 11, 2021 @03:50AM (#28825869)
> Java is probably 10 times faster than JS

I don't wish to start a language flame war here. We're beyond that.

But by what measure? Doesn't this depend on what you're doing?

Re:We've been lied to: JavaScript is fast by galaxyLogic on Monday October 11, 2021 @01:44AM (#28825109)
If you say "probably" doesn't that mean it is not really certain if it is that way? May be, may be not. Maybe probably 10 times faster?