Google's Dart Programming language comes to Chromium


Recommended Posts

Developers!!! Attention!

  Quote
An attractive feature of Web programming is a rapid development cycle. Reloading the application after the source code has changed takes a fraction of a second. We want to offer you that same experience when using Dart, and today we?re making Mac and Linux binaries available that integrate the Dart VM into Chromium.

This technology preview allows you to run your Dart programs directly on the Dart VM in Chromium and avoid a separate compilation step. Over time, these programs will take advantage of the VM?s faster performance and lower startup latency.

Dart has been designed from the start to work with the entire modern web, and we?re simultaneously continuing to improve our fast Dart-to-JavaScript compiler. Both the Dart VM and modern JavaScript engines are first-class targets for Dart.

This release of Chromium with Dart VM integration is a technology preview, and should not be used for day-to-day browsing. After more testing and developer feedback, we plan to eventually include the Dart VM in Chrome.

Today?s release of the Chromium + Dart VM integration is another step forward for the open source "batteries included" Dart platform. Our goal is to help you build complex, high performance apps for the modern web,

http://blog.chromium...-with-dart.html

  • Like 1
  On 19/02/2012 at 23:07, funkydude said:

Can't believe Google is silly enough to keep pushing this instead of contributing to new versions of ECMAScript, which is the standard.

Could be that it doesn't suit Google's needs, so they created DART and are nice enough to let others use it too, for free

Dart reminds me of JScript that MS pushed, before they started aligning with the spec. It's like JS, but not, and other browsers need compatibility code (In the case of Dart, it's a lot of compatibility code, so Chrome would load DART sites faster because it simply has less to load than other browsers)

I really hope this gets popular. Javascript needs to die as soon as possible. It was designed for simple HTML manipulation, not complex applications, and it's a huge pain to work with. The sooner developers switch to something more adapted, the sooner browsers support it, the better for the web as a whole.

Dart isn't the only alternative to Javascript currently: CoffeeScript is also quickly gaining popularity. What makes Dart unique is direct support in the browser through a VM rather than compiling to Javascript (which Dart also supports).

Mozilla have already said they won't support Dart, Google's the only one pushing it.

The only thing Dart really has over JavaScript is classes, and they were only dropped from the latest JavaScript revision because they couldn't agree on the syntax.

  On 20/02/2012 at 00:52, Dr_Asik said:

I really hope this gets popular. Javascript needs to die as soon as possible. It was designed for simple HTML manipulation, not complex applications, and it's a huge pain to work with. The sooner developers switch to something more adapted, the sooner browsers support it, the better for the web as a whole.

Dart isn't the only alternative to Javascript currently: CoffeeScript is also quickly gaining popularity. What makes Dart unique is direct support in the browser through a VM rather than compiling to Javascript (which Dart also supports).

You have no idea what you're talking about, I guess you've never even bothered to research it. ECMAScript has evolved over many versions, you seem to be under the delusion that we're using a 15 year old language.

The latest version (5.1) was pushed out in June last year. The new version is currently in development but Google just wants to make the web its own instead of contributing, like Microsoft stupidly tried to do 10 years ago. See: http://www.ecmascript.org/ & https://en.wikipedia.org/wiki/ECMAScript and learn something. There's also http://test262.ecmascript.org/ to test how compliant your browser is, a test which up until recently IE9 was king of.

  The_Decryptor said:
Mozilla have already said they won't support Dart, Google's the only one pushing it.
They don't have to, it'll be compiled to JS like every other non-JS language out there currently used to develop large-scale web application. If it gets really popular, then they'll probably change their stance and provide direct support.
  funkydude said:
You have no idea what you're talking about, I guess you've never even bothered to research it.
Don't you find it ironic to make an uninformed claim (you have no idea of my work or research experience) that my claims were uninformed?

Anyway, wrong and wrong. :rolleyes:

  Quote
ECMAScript has evolved over many versions, you seem to be under the delusion that we're using a 15 year old language.

But you are. Your array is still kinda-but-not-really an object, and you can still accidentally hide global variables, and order of iteration for foreach loops is still not defined, and white space matters in places it should not because of semi-colon auto-insertion, and the scoping rules for "this" are still as broken as ever and as they always will be, etc. Javascript gets patches, but the patches can't fix bugs that would break backward compatibility.

If it's not Dart it'll be something else. Languages like CoffeeScript, Script#, and countless others are quickly gaining in popularity. They use the same compile-to-JS approach as Dart. What Dart has going for it is support by a large company with lots of money, and one that makes a popular, cross-platform web browser.

  On 20/02/2012 at 02:54, Dr_Asik said:

They don't have to, it'll be compiled to JS like every other non-JS language out there currently used to develop large-scale web application. If it gets really popular, then they'll probably change their stance and provide direct support.

...

Yeah, you can compile Dart code to JS, but of course that adds lots of overhead (Your "Hello World!" code becomes 17,259 lines of JavaScript). You can compile C/C++ (I hear they're even more popular) to JavaScript, that doesn't mean Mozilla and MS are going to drop JavaScript and adopt C in it's place.

If you're going to replace something, you don't have to just match it functionality wise, you have to vastly exceed it. Just having classes and a few less quirks isn't enough (especially since JS could/is getting those additions and fixes)

  On 21/02/2012 at 04:42, The_Decryptor said:

Yeah, you can compile Dart code to JS, but of course that adds lots of overhead (Your "Hello World!" code becomes 17,259 lines of JavaScript).

That's the cost of the entire framework, without any effort to remove unused code. With Google Closure Compiler this gets trimmed down to 2000 lines, an amount comparable to jQuery, which every website uses today.
  Quote
If you're going to replace something, you don't have to just match it functionality wise, you have to vastly exceed it. Just having classes and a few less quirks isn't enough (especially since JS could/is getting those additions and fixes).
It's enough that Office Web is written in Script# rather than Javascript, and that this paradigm of languages that compile to Javascript is quickly gaining in popularity. It would be nice if a new language became the norm.

Perhaps Dart isn't the best we can hope for, I haven't put that much thought into it, but I certainly do hope the world moves away from Javascript.

  • 5 years later...
  On 08/05/2017 at 21:18, duble0 said:

could be cool, but I hate propietary language!...flash and silverligh are failing examples!

Expand  

Everything starts by being proprietary 

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • This 2TB NVMe Gen4 SSD is priced just $94 and you also get a free 64GB UHS-I memory card by Sayan Sen A few days ago, we reported on Team Group's T-FORCE G50 4TB NVMe SSD that was up for grabs at just $200 thanks to a promo coupon. Sadly, that deal has expired although you can still WD's SN8100 (Gen5) and SN7100 (Gen4) offerings as they are still running the discount. If you don't have the budget for those or are shopping for lower capacity drives then Crucial's T500 Gen4 drive discount is still live, and you can get them for just $125. And while the G50 4TB deal has expired, Team Group is now offering its 2TB model at its lowest ever price and you also get a free Micro SD card with it. The Team Group G50 is also a TLC (triple level cell) NAND flash SSD, and thus the endurance on the T-FORCE SSD is quite good, as it is rated for 1300 TBW (terabytes written) for the 2TB variant. Its MTBF, or Mean Time Between Failure, is claimed at 3,000,000 hours. The operating temperature is 0~70 C. The G50 does not have a dedicated DRAM cache (only the G50 Pro SKUs have it), but since it is based on NVMe version 1.4 which supports HMB (host memory buffer) technology; thus, the drive can use system memory for caching. In terms of performance, Team Group promises sequential read and write speeds of up to 5000 MB/s and 4500 MB/s, respectively. However, the firm does not disclose random throughput metrics. Get the Team Group G50 at the link below (deal is said to be ending in less than 10 hours): Team Group T-FORCE G50 SSD (TM8FFE002T0C129) + Team Group 64GB Elite microSDXC UHS-I U3, V30, A1, Micro SD with SD Adapter, to 100MB/s (TEAUSDX64GIV30A103): $105.99 + $12 off with promo code SSETA665 (Shipped and Sold by Newegg US) This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • I know what you're getting at, but Microsoft themselves have said that the Xbox Ally specifically disables a bunch of stuff from Windows to improve performance and save 2GB of memory. And that special game mode is coming to Windows 11 next year.
    • It could be good old fashion neglect, lower priority focus, less resources then it use to vs active sabotage.
  • Recent Achievements

    • First Post
      Ian_ earned a badge
      First Post
    • Explorer
      JaviAl went up a rank
      Explorer
    • Reacting Well
      Cole Multipass earned a badge
      Reacting Well
    • Reacting Well
      JLP earned a badge
      Reacting Well
    • Week One Done
      Rhydderch earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      647
    2. 2
      ATLien_0
      268
    3. 3
      Michael Scrip
      218
    4. 4
      +FloatingFatMan
      184
    5. 5
      Steven P.
      145
  • Tell a friend

    Love Neowin? Tell a friend!