You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Activity
rlidwka commentedon Nov 22, 2014
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 commentedon Nov 22, 2014
Dart compiles to JS at the moment since No browser(yet) supports DartVM, but DartVM still performs faster.
vkurchatkin commentedon Nov 22, 2014
@Ap0ph1s Java VM is even faster. And you also can compile Java to JS
rlidwka commentedon Nov 22, 2014
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 commentedon Nov 22, 2014
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 commentedon Nov 22, 2014
@vkurchatkin @rlidwka http://www.infoq.com/news/2013/05/Dart-Java-DeltaBlue
rlidwka commentedon Nov 22, 2014
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 commentedon Nov 23, 2014
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.)