Dart 1.0 Released
stoolpigeon writes "Yesterday marked the release of Dart SDK 1.0, a cross-browser, open source toolkit for structured web applications. The Dart SDK 1.0 includes everything you need to write structured web applications: a simple yet powerful programming language, robust tools, and comprehensive core libraries. The language has been somewhat controversial, but Google continues to move it forward."
Reader slack_justyb adds some more detail: "The new release brings a much tighter dart2js compiler reducing overall JavaScript output up to 40%; Dartium — a version of Google Chrome that has the DartVM in addition to the JavaScript VM as native to the browser; PUB, a package manager for Dart add-ons; and several favorite 3rd party plug-ins that now come out-of-box, in addition to a lot of work for Dart server-side tools that can work to automate server side tasks and help in the construction of web pages.
However Dart has many critics not only from the IE and Apple camps, as one would guess, but from the Firefox and Opera camps as well. In addition to the low adoption of Dart from third parties there are some asking where does Dart go from here? Especially considering that Google is one of the strongest pushers for EcmaScript 6."
If you've used JS in the past you'll see immediately why DART is so welcome. It's actually SANE!
My productivity is probably 200% greater in DART then JS. But don't take my word for it, I'm jsut an ana coward!
It seems rather imbicilic to say that Dart2JS is faster than JS.
If I hadn't come to absolutely loathe and distrust everything Google does over the course of the last few years.
Yay, another web programming language to learn.
Sigh...
reducing overall JavaScript output up to 40%
Err... what?
systemd is Roko's Basilisk.
I'm a network engineer, and I do some web development as a hobby to understand better the application layers and all that payload I transport on the wires.. I hate Javascript because I find it hard to debug in a browser. I like having a proper IDE to help me debug my code. If then they convert that code to JS and it works the same, it works for me. I'm not a professional developer so maybe the ones who are should write in JS directly, but my experience is that JS is not a great language because of the debugging. I prefer C# and Java because of Visual Studio and Eclipse's help in debugging.
Javascript isn't rocket science to use. You've just got to put in the effort to read a couple books to understand that it requires different design strategies from other OO languages. The scoping, prototypes, and events are actually really nice if you bother to learn how to use them properly.
I don't hate JavaScript, but I wish it started to have a real and modern API. DOM objects and a few basic types is not constructive, everyone is adding external libraries to do simple things, using different libraries so you don't have a base API to learn. I am not talking DOM manipulation level APIs like jQuery, but about a good collections, async, crypto, etc APIs. JavaScript core available APIs is a mix of bad basic types (like only the Number type for every numeric value) and HTML spec APIs every one of them with their own conventions
How much effort would it take to create a plug-in for FF and/or i.e. that contained the dart vm?
Would it get you anything? What would the issues be?
I think your arguments are pretty valid and I am by no stretch of the imagination a pro-Dart guy, but I believe that the "cross browser" claim comes from the olden days of cross platform languages. C/C++ had (has, just in case the past tense is a really bad choice) cross platform compilers they take C/C++ code and compile it to a language that the target platform understands. For example, C to ARM/x86/amd64/MIPS... compilers.
So my guess here, and it is just a guess, is that Google is using the same rationale to justify calling this a "cross browser" language, because the compiler can turn Dart into a language that can be understood by other browsers, much like a C compiler can compile into different paltforms. Arguments about if that is an accurate equation are totally justified and most likely will ensue hereafter. I'm just tossing up a guess as to why Google felt like that was an accurate statement.
I think the parent has a good argument, maybe just no stated in the best of terms.
However, on the Dart site it says that Dartium, the DartVM enabled version of Chrome, will be one of the major focuses of the Dart team. Somehow, I have a sinking feeling that maybe, just maybe, Dart and NaCL are going to become *major* line items for ChromeOS and Chromebooks. Much like how ActiveX and VBScript became pretty important pillars in Microsoft's platform.
So while on the face of it, it sounds like a shrill. It actually can be rather thought provoking about the future of Chrome and Google. Just for a second think about where VBScript and ActiveX went during their lifetime and what they eventually evolved to. Granted we all now look back and see VBScript as the useless thing that it is, but in it's day, it provided a very powerful way of making offline enabled web pages and was featured heavily in WSH for admins until replaced by PowerShell. Clearly, Google hinting at Dart in the server is an indicator that Dart very may well have a life not unlike VBScript.
If you haven't tried it, you should try Firebug. It helps debugging Javascript in the browser quite a bit.
Any language that cross-compiles to JS is cross-browser. Correct.
Maybe you don't "get" Google's Dart strategy. It's ActiveX all over again, but with more technical finesse.
Why don't they just put the python runtime sandboxed? Why create a new language? Why not Lua or Ruby? Why not all of them so I can choose? All these languages have run-times on most major platforms (except iOS because, you know, Apple). Can't each browser just come up with a way to sandbox the language and provide the hooks to the DOM?
But really, the main problem isn't even javascript. The REAL problem is the DOM, it sucks manipulating it at run-time. The DOM was made to build documents, not applications. We need some real desktop-like api for building applications that allows little boxes on the screen to open html documents.
Chrome has the best debugger I have seen. I find easier to debug Javascript code than Java code on Eclipse. It is one of the reasons I don`t like TypeScript and its similars, they compile down to Javascript which makes harder to debug the original code because the debugger only sees the Javascript code.
After being burned by Google abandoning GWT, I would worry about adopting Dart. Won't Google just lose interest and abandon it after a year or two. Won't we just see a new project start up almost immediately for some newer better web language? Not sure I'd jump in on this one.
It has nothing to do with ActiveX at all.
ActiveX is a fancy *dll, which has full access to the System.
Dart is a sandboxed, either by the JavaScript Engine or the Dart Engine.
Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
I never found Typescript's output to be that hard to read, since it preserves comments and changes the code very little apart from rewriting class definitions.
You can enable source maps, which the Firefox/Chrome debuggers can use to show you the original code when debugging compiled code. And some minifiers like UglifyJS can transform source maps to continue working after minifying.
If you're lucky.
This sig has been enciphered with a one-time pad. It could say almost anything.
You've missed the parents point. This is not a technical issue.
Required reading for internet skeptics
Look here. The Dart devs have been very open about their goals and their choices. They do plan standardisation and only want to develop the language to where they want it (where they think it will be good enough to drive adoption) before handing it off.
What does renaming a method have to do with their choices on when to hand off to a standards body? The whole point of not being in the hands of a standards body (and until now being below version 1.0) was their ability to make unanimous decisions like this. They want the language to be designed with a singular vision which they believe leads to a stronger language. They even give evidence for this belief.
Wait a second, are you really holding JS extensions in the Firefox experimental against Chrome stable? Really? Are we doing that now?
Do you think Google is the only big tech company that drops products, or services?
Tons of server based web programming languages. But, as far as I know there is only one, widely used, language for programs that run on the client browser.
I can't speak to if DartEditor uses Java (and if it does, maybe it just bundles a stand alone bundled JRE?) but it works on most flavours of Windows, Mac and Linux
https://www.dartlang.org/tools/editor/
I'm sure Google have done the occasional Windows only thing, but in general it's really not their style.
It's turtles all the way down.
Yeah it's based on Eclipse. I did find the Mac/Linux downloads so OK I'll try it.
What I find hilarious is that the Dart language website (dartlang.org) actually requires JavaScript to work.