Slashdot Mirror


Google Ports Box2D Demo To Dart

mikejuk writes with an excerpt from an article at i-programmer about a neat graphics demo written in Dart: "One of the difficulties in getting a new computer language accepted by a wider audience is that there is doubt that it is real. Is it a toy language that just proves a concept or can it do real work? In the case of Dart, which is Google's replacement for JavaScript, the development is speeding ahead at a rate that is impressive but worrying. To prove that Dart is already a language that can be used, we now have a port of the well known 2D physics engine Box2D, the one Angry Birds uses, to Dart." Box2D has previously been ported to Javascript. Source is available at Google Code (under the Apache license). Note that you'll need Chromium to run the demos.

8 of 194 comments (clear)

  1. Some Discrepancies with Your Bitching by eldavojohn · · Score: 5, Informative

    They're mimicking the old Microsoft here - make your own "standards" and break the web by making features and sites that only work Google's browser.

    From Dart's wikipedia page:

    Google will offer a cross compiler that compiles Dart to ECMAScript 3 on the fly, for compatibility with non-Dart browsers.

    And, in fact, dartc already cross compiles Dart code to plain Javascript. Once it's integrated into browsers, use it or don't use it.

    It's like Microsoft all again.

    Right, that's a stretch. You conveniently cherry pick details here. For example, NaCl is released under a BSD license with source code readily available. Are you saying the same was true of ActiveX since it's launch?

    --
    My work here is dung.
    1. Re:Some Discrepancies with Your Bitching by M.+Baranczak · · Score: 3, Informative

      Seems like they've worked on it since the last time you checked: http://www.dartlang.org/support/faq.html#hello-world-js-size

    2. Re:Some Discrepancies with Your Bitching by anonymov · · Score: 3, Informative

      Net result of any new extension is that users of the browser implementing it get a faster and better version. If it turns out to be a good idea other browsers follow and everyone ends with a net benefit.

      Canvas, for example, was Apple's extension in WebKit, year or two later other engines caught up to it too.

      XHR was created by MS for Outlook Web Access, with other browsers implementing it in a year or two after that, and W3C draft standard appearing only 5 or 6 years later.

      That's how innovation worked in browsers for a dozen years.

  2. TechGuys is an MS Shill. by teh31337one · · Score: 1, Informative

    Here we go again!

    Every time I click on a news story involving Google, I'm all but positive that the first post will be:

    a) Posted with a 2.5+ million UID

    b) Over 100 words long, yet still posted the same minute the story goes live

    c) Negative towards Google

    Here we go again. Welcome back CmdrPony / InsightIn140Bytes / DCTech. Happy shilling. Hope you karma manages to hold out for more than 4 days this time.

  3. Re:Not again! by Anonymous Coward · · Score: 2, Informative

    I think you fundamentally misunderstand the purpose of Chrome/Chromium, and that misunderstanding is blinding you to the very obvious differences between what Google is doing with Chromium (NaCl, Dart, SPDY) and what Microsoft did with IE. If you start instead from the right premise, and realize that everything Google has done has been open-sourced, you start to get a better appreciation for what's really going on.

  4. The JS port by LDoggg_ · · Score: 5, Informative

    The article mentions, box2d-js. The more current port is box2dweb: http://code.google.com/p/box2dweb/

    --

    "If they have both, tell them we use Linux. And if they have that, tell them the computers are down." -Dave Chapelle
  5. Nice Deflection by Anonymous Coward · · Score: 1, Informative

    But why would anyone start to use this?

    That's called a deflection. You stated a point, I rebutted your point and -- instead of acknowledging me or providing more details to contradict my point -- you deflect it into a totally unrelated topic (everything faces user adoption problems these days).

    I'm done with you ...

  6. Re:Micro$oft Shill by GreatBunzinni · · Score: 1, Informative

    Bonch and Over Critical Guy are two known MS shills who even post messages based on the same script. See this post from Overly Critical Guy and compare it to this post by bonch. Notice any similiarities?

    --
    Slashdot, fix your code or at least hire someone who is competent at it to do it for you.