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

    • Samsung could unveil its Galaxy XR headset ‘Project Moohan' in September by Sagar Naresh Bhavsar Next month, Samsung is expected to unveil the Galaxy Z Fold7, the Galaxy Z Flip7, and an affordable Galaxy Z Flip7 FE, along with the Galaxy Watch8 series. However, the launches don't end there. A fresh report out of South Korea hints that Samsung could launch its much-awaited Galaxy XR augmented reality headset in September. The company has codenamed its first XR headset as "Project Moohan," which translates to "Project Infinite." Samsung has already showcased the Galaxy XR headset a few times in the past. In fact, popular tech YouTuber Marques Brownlee - also known as MKBHD -, got his hands on the Galaxy XR and revealed interesting details about the upcoming device. The Galaxy XR is rumored to come with a sharper display compared to the Apple Vision Pro and run on Google's new operating system for AR and VR headsets, the Android XR. Fast forward to now, Korean publication Newspim reports that Samsung is ready to launch the Galaxy XR headset on September 29 in its home country. Notably, the headset will be unveiled at an Unpacked event and later will go on sale on October 13. Globally, the Galaxy XR headset is expected to launch soon afterwards, though any specific date isn't mentioned. Additionally, the report suggests that fans can expect more teaser videos and prototypes of the headset at the upcoming Unpacked event for the Galaxy Z Fold7 and Flip7. The report also spills some details about the specifications of the Galaxy XR headset. Under the hood, it could run on Qualcomm's new XR2+ Gen 2 chip, made using Samsung's 4nm process. Samsung is also expected to introduce tight integration with its Galaxy ecosystem to offer a connected experience. It will be interesting to see how Samsung holds up against the likes of Meta, which already dominates the XR market, while Apple struggles with high Vision Pro prices.
    • I've put it behind a login for the time being.  I had something like 600,000 requests from just from Alibaba IP addresses that didn't clarify they were bots or scrapers, and so not easy to block using user agent filtering.  I didn't have any issues with bandwidth or accessibility, but that's 600,000 requests just from one cloud provider made to my spinning rust hard drives, that I have to personally pay for when they die, by bots being ran by corrupt mega corporations ignoring my polite requests that they not scrape me and that the information only be accessed by real humans. If any of y'all here were actually using my Kiwix mirror, I have no issue whatsoever creating a username and password for you, just hit me up using one of the methods listed on my personal site and I'll make one for you. https://marcusadams.me
    • I always turn encryption off 1st boot, crazy its on by default on new computers, it should ASK you ON or OFF on 1st boot,, So many people dont even know its on , then forget their windows login and microsoft account,, RETarDED Microsoft is now, , i also find having it on slows things down too
    • Adding AI is just an excuse to hike prices. I don't want any AI features in our Slack workspace and yet will have to pay for it.
    • Hello Could you be kind too help me fix this 3.1gig and not 256gig it says 3.1gig only .someone told me to fix it with this https://www.disk-partition.com/articles/64gb-flash-drive-only-showing-32gb-5740i.html yes my sandisk ultra usb 3.0 256gb wont show up in full .  but i don't know want options i have to use on there can someone  please guide me with step by step instructions please  guide me with step by step instructions on how to repair this .sorry for asking but I've tried but i don't know want i have to do on that programme please help me i am on windows 11 home thank you nick
  • Recent Achievements

    • Week One Done
      vivetool earned a badge
      Week One Done
    • Reacting Well
      pnajbar earned a badge
      Reacting Well
    • Week One Done
      TBithoney earned a badge
      Week One Done
    • First Post
      xuxlix earned a badge
      First Post
    • First Post
      Tomek Święcicki earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      675
    2. 2
      ATLien_0
      288
    3. 3
      Michael Scrip
      223
    4. 4
      +FloatingFatMan
      195
    5. 5
      Steven P.
      144
  • Tell a friend

    Love Neowin? Tell a friend!