Announcement

Collapse
No announcement yet.

Dart 1.1 Claims Up To 25% Faster JavaScript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dart 1.1 Claims Up To 25% Faster JavaScript

    Phoronix: Dart 1.1 Claims Up To 25% Faster JavaScript

    Just two months after Google declared Dart production ready with its 1.0 release, Dart 1.1 was released on Thursday and it now claims to be up to 25% faster than its JavaScript performance...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    This is a great job. Getting performance parity with handwritten Javascript
    for more and more workloads means that it becomes a viable alternative
    to Javascript today, even without native Dart support in any of the major
    browsers.

    The only thing that concerns me is how masive the output becomes when
    using mirrors (reflection) which makes AngularDart much bigger than AngularJs
    for no good reason.

    Comment


    • #3
      25% doesn't seem like much for a completely new language. Not much reason to switch then.

      Comment


      • #4
        Originally posted by carewolf View Post
        25% doesn't seem like much for a completely new language. Not much reason to switch then.
        This is about Dart compiled to Javascript compared against handwritten Javascript.
        Native Dart runs much faster.

        However until browser start supporting native Dart there needs to be a way to
        run Dart code, else we could only use it for example apps and stuff, with Dart2JS
        we can write production code with it.

        Comment


        • #5
          Afaik even Chrome doesn't support Dart out of the box. But Dart is better than JS hands down.

          Comment


          • #6
            Originally posted by carewolf View Post
            25% doesn't seem like much for a completely new language. Not much reason to switch then.
            If you clicked the link before commenting, you'd see that Dart->JavaScript is 25% faster than their previous Dart->JavaScript. You'd also see that the new Dart->JavaScript is now comparable to just plain JavaScript and their native Dart code is twice as fast as JavaScript.

            Comment


            • #7
              You don't wait 15 years to move against a product that is over 20 years mature and has the mind share of the globe for client-side library support.

              Google:

              Dart is a new platform
              for scalable web app engineering
              Whatever

              Dart is class based and object oriented, without being dogmatic.
              In short, we want to copy Objective-C/Cocoa but using our own approach and frameworks with C++/Java syntax, sugar coded with traditional

              Objective-c brackets for List literals, as one example.

              So you have abstract C++ class syntax/Java syntax with ObjC mixed syntax. Puke.

              Pick one.

              Comment


              • #8
                Generated js is 25% faster on Google's own V8 engine. What about the performance comparison with Mozilla's SpiderMonkey?

                Comment


                • #9
                  asm.js

                  Originally posted by newwen View Post
                  Generated js is 25% faster on Google's own V8 engine. What about the performance comparison with Mozilla's SpiderMonkey?
                  Sounds to me like asm.js might be a much bigger win. It has demonstrated far, far larger improvements:

                  Comment

                  Working...
                  X