node-forward / discussions

Soliciting ideas and feedback for community driven collaborative projects that help Node.
149 stars 1 forks source link

Any new optimizations of V8 #17

Open 5nyper opened 9 years ago

5nyper commented 9 years ago

DartVM and some FF JS engines are surpassing V8, any optimizations coming this way to turn the tables?

rlidwka commented 9 years ago

Dart is another language, which has nothing to do with javascript (unless I missed something).

FF thingy is being discussed in another thread here. Shortly speaking, it's "would love to see it, but too hard" kind of a deal.

5nyper commented 9 years ago

Dart compiles to JS at the moment since No browser(yet) supports DartVM, but DartVM still performs faster.

vkurchatkin commented 9 years ago

@Ap0ph1s Java VM is even faster. And you also can compile Java to JS

rlidwka commented 9 years ago

Dart compiles to JS at the moment

Haskell compiles to JS as well. So does python. It doesn't mean we're switching to them, does it?

This is a JavaScript community, and frankly speaking many people here will prefer Dart only at gunpoint (1, 2, etc.). So unless you can run JavaScript under DartVM faster, there isn't any reason to suggest it.

But SpiderMonkey can run JS faster (and better, I'm talking es6 features), so that's a good thing.

vkurchatkin commented 9 years ago

But SeaMonkey can run JS faster (and better, I'm talking es6 features)

Are you sure? https://wingolog.org/archives/2014/11/14/generators-in-firefox-now-twenty-two-times-faster

Generators are pretty special and it's a good thing that they are fixed now, but it's frightening to know that using some features can force spidermonkey to run code using interpreter mode.

5nyper commented 9 years ago

@vkurchatkin @rlidwka http://www.infoq.com/news/2013/05/Dart-Java-DeltaBlue

rlidwka commented 9 years ago

But SeaMonkey can run JS faster (and better, I'm talking es6 features)

Are you sure?

No. I would like to stress "better" and "es6" in my reply.

But they are roughly the same nowadays. See this blogpost from a month ago where SM overrun V8 on their performance metrics.

And here is a nice website: http://arewefastyet.com/

Maybe I'm wrong about "it is faster" in node.js use-case, but "their performance is roughly the same" still applies.

Fishrock123 commented 9 years ago

guys http://www.rust-lang.org/

Ok jokes aside, this belongs on Google's V8 issue tracker, not here.

(If you're wonder what version of v8 node 0.12 will drop with, it will probably be 3.30.x I think.)