News for hackers. Stuff that matters.
Re:JS-SIMD by ndesaulniers on Wednesday September 10, 2014 @12:01PM (#8297214)
Startup compared to v8. v8 compiles all JS to bytecode first, which is where it gets poorer startup time compared to SpiderMonkey's interpreter, or JavaScriptCore's handwritten assembly interpreter.

How many people are using the Dart VM outside of Dartium? Is it a meaningful amount that I should be worried?

Re:JS-SIMD by ahoge on Thursday September 11, 2014 @05:31PM (#8305267)
It's not like SpiderMonkey starts up instantaneously. Also, an interpreter is of course slower than the quick and dirty native code generated by V8.

JSC doesn't seem to have an advantage in the extremely short-running SunSpider benchmark suite.

Dart's snapshots are also something you just can't do with JavaScript, because the program structure is created imperatively with JS. You have to run quite a bit of code before you can actually run the program itself.

> Is it a meaningful amount that I should be worried?

Worried about what? Why would you care anyways? Do you also get worried if some game uses a Lua VM?

I use Dart for pretty much everything. Command line tools, web servers, and client-side scripting. It's an excellent choice for the things I do and the things I want to do.

It's a better fit than Java, C#, JavaScript, Python, or PHP. I still do use those languages occasionally, but Dart is my primary language now.

Re:JS-SIMD by sitkack on Thursday September 11, 2014 @05:39PM (#8305301)
Mike Pall would disagree with you about interpreter vs compiler.
Re:JS-SIMD by spankalee on Wednesday September 10, 2014 @02:54PM (#8298317)
Worried about what?