Will Google's Dart Language Replace Javascript? (Video)
Seth Ladd, Google Web engineer and Chrome Developer Advocate, is today's interviewee. He's talking about Dart, which Wikipedia says is 'an open-source Web programming language developed by Google.' The Wikipedia article goes on to say Dart was unveiled at the GOTO conference in Aarhus, October 10–12, 2011, and that the goal of Dart is 'ultimately to replace JavaScript as the lingua franca of web development on the open web platform.' A bold aim, indeed. Last month (June, 2014), InfoWorld ran an article by Paul Krill headlined, Google's Go language on the rise, but Dart is stalling. Seth Ladd, unlike Paul Krill, is obviously rah-rah about Dart -- which is as it should be, since that's his job -- and seems to think it has a growing community and a strong place in the future of Web programming. For more about Dart, scroll down to watch Tim Lord's video interview with Seth -- or read the transcript, if you prefer. (Alternate Video Link)
No.
Have gnu, will travel.
No, it will not replace Javascript. It will become another Coffeescript alternative that just happens to run faster on Chrome, thus further contributing to Google' mad rush to make a web that only runs best on Chrome.
Their is not enough free tutorials or unaware of them for Dart to take off, unlike Javascript.
Google will announce the end of the project, and that we all have two months to rewrite our code into something else.
Unless they can magically add Dart capabilities to all the web-capable devices already out there as well as current and future competitors devices, the answer is no.
We don't need another "This website is best viewed in browser XYZ" era.
Get free satoshi (Bitcoin) and Dogecoins
atfer it does you will go to school for 2-4 years to get a piece of paper that says you know it.
No
I. e., no.
Headline in form of question = No
Dart would need to be submitted to an independent standards body and be royalty and patent free in order for any other company to even contemplate embracing it. I don't see Microsoft, Apple, or IBM handing the wheel to google to be sole dictator of the future of a critical component of web technology . Dart may be a good idea but without community support like what has happened with the HTML 5 standards group it will continue to be a proprietary browser specific language like VBScript in Internet Explorer.
If a nation expects to be ignorant and free, in a state of civilization, it expects what never was and never will be-T J
Clearly you do not use or have heard of AngularJS
To read this comment you will need a browser from the largest advertising company in world, please surrender your data here and revisit this page
atfer it does you will go to school for 2-4 years to get a piece of paper that says you know it.
If you already know JavaScript, and either Java or C++, then you can learn Dart in about 20 minutes.
I really wanted to use dart, I liked the fact it had types, but once I tried using it found out types where optional, and there was no way to make them required. So knowing programmers/people in general are lazy it will degenerate into no types at all. I don't mind having untyped variables as long as you are explicit about it, but dart is the other way round.
I think the web needs a statically typed language since webs apps are growing in size, having types allows for greater readability and ease of refactoring that untyped languages just don't provide. Dart is just not it.
He's talking about Dart, which Wikipedia says is 'an open-source Web programming language developed by Google.'
It's a bit questionable to call a programming language "open source". Ok, it probably means that the Google-provided tools and interpreters are open source, but still. A language is just its specification.
You needed a special IDE to write a Dart app, and it would only run in a modified version of Chromium unless you compiled it to Javascript...so I don't see any reason why it would replace Javascript. If you want your tool to catch on, you have to come out on the winning side of "useable vs technically superior".
There is too much momentum for what is being used today, it's almost impossible to dislodge a de facto standard.
Not according to HR.
Next question?
Like it or not, Microsoft is still the elephant in the room, the thousand-pound gorilla, etc. If Microsoft accepts it, it is done and dusted. If not, abandon all hope.
Lately, Microsoft has shown signs of thinking about the possibility of considering the idea of maybe sorta kinda playing a bit nicer with others, but they've still got a long ways to go.
I'd tickle it's belly eveytime I read something like this... And listen to it goo goo gaa gaa. Such silliness.
Yep, because everyone else that created and contributed to it are worse than chopped liver. Haven't you heard? Google is involved! That means they did everything! Forget about Brat Tech and the hundreds of web devs who have tried to keep Angular from turning into a sprawling monstrosity!
Will Google's Dart Language Replace Javascript?
No.
Next question?
"Somebody has to do something. It's just incredibly pathetic it has to be us."
--- Jerry Garcia
Except VBScript wasn't designed from the ground up to be compiled to Javascript.
Dart would need to be submitted to an independent standards body and be royalty and patent free
standard: http://developers.slashdot.org/story/13/12/14/2047248/googles-dart-becomes-ecmas-dart
royalties: http://www.ecma-international.org/memento/TC52.htm
license: http://opensource.org/licenses/BSD-3-Clause
STFU already
Dart is already being made an ECMA standard, just like JavaScript: http://www.ecma-international....
Comment removed based on user account deletion
If you already know JavaScript, and either Java or C++, then you can learn Dart *and write absolute crap* in about 20 minutes.
please, folks. do get some real insight into the languages you use before doing serious stuff others will have to maintain. thank you.
this is true in general, but regarding to javascript: ... read the manual first. javascript is *not* what you think it is.
if you come from Java, you *must* unlearn almost everything to start doing anything half decent in javascript.
If you come from c++ not so much, but please, please
the problem with javascript isn't javascript, it's that 90% of people writing javascript hasn't a clue about javascript.
as for dart, i don't know / don't care atm.
VB6 and all versions of the Office scripting language (VB6..., I'd much rather use C#) had this option. In the early 1990s.
I hugely prefer static typing.
And don't get me started on function redefinition in Javascript. It's more than a debugging nightmare, it is a debugging apocalypse.
BlameBillCosby.com
I was going to give it a try, and downloaded the Dart + IDE bundle. Then found out it needs a Java runtime engine to run the IDE. So forget it.
Dart can be compiled to JavaScript. So why would it have to replace JavaScript. Google's fight is not with JavaScript but with Oracle and Java. What Google needs to do is create a SDK for Android-Dart and let us use that for mobile development. Dart is perfect for the android and will alleviate a lot of the problems with Java. This would also allow mobile developers to do some web development and vice versa. And maybe...just maybe then we can see more quality app development for android.
ease of refactoring that untyped languages just don't provide.
???
My subroutines, written in untyped languages, can be repurposed to work with different datatypes without any "refactoring" or editing at all.
I agree with you on unlearning java before doing an anything meaningful in javascript...
However, there's only one thing worse than C#/Java dev trying to apply what they know to Javascript, and its a C++ dev trying to do the same. I've had to deal with a few, and its completely deplorable. Overengineering and premature optimization (that actually slow things down in one place), underengineering and total lack of optimization where its easy and count.... try to do classes the same way without trying to understand the various inheritance patterns javascript can use... trying to reinvent the wheel everywhere...
Its just painful.
Another language YAY!
Even SWIG can't keep up with the rate we're cranking out new languages - the data divide is just growing and growing and growing and....
This is what turned me off on Dart as well. Carte blanche optional typing is about as useful as no types at all. Either add static typing that is enforced or don't add types at all.
Also turned off by the arbitrary divergence from JS. Why?
Anything that can rescue me from Javascript.
Absolutely right, too many developers blame the tools rather than becoming better developers, we see this every couple of years: "Every language is crap, we should all move to Language X!". Then a few years later Language Y will come along to save us from the abhorrent abortion that is Language X.
By all means work on developing a new language if you feel it genuinely will be advantageous but unless that's your fulltime commitment in your capacity of coding then you should be focusing on becoming a more proficient developer with the tools you have because no language will save you from yourself. Ultimately in terms of speed, stability and maintainability it will be much more about your design choices than the design choices of the language, if you're not proficient in development with that language then you're likely to be making bad design choices so you're going to be the major problem.
I got to know if google loves us.
Requiring an app to be downloaded for viewing a video on your site is such a fail. Not expected from Slashdot.
Thankyou for mindlessly parroting the "javascript sucks" tagline.
Problem: browsers only run JS, which has it's virtues and warts.
Solution: have a plug-in scripting engine where you can use any language, and let the developers choose their set of virtues and warts.
There is no reason why we can't develop a plugin interface, and have other languages up and working in short order. Python would be great. Just include .py file instead of .js and have that in the interpreter. With a common shared DOM object, you can keep existing JS and transition to your language of choice.
Slashdot's rate-of-post filter: Preventing you from posting too many great ideas at once.
Wait, I've heard of and used AngularJS. But what does that have to do with Dart?
Comment removed based on user account deletion
Comment removed based on user account deletion
Dart was submitted for ECMA standardization early this year and is now ECMA-408.
[Disclaimer: I work on the Dart team]
Google is playing the same game that has been routine from Microsoft any time the past 30 years.
Google knows that millions of devs have got a lot of investment in Javascript. I don't know how many websites in the world use it, but I'm guessing, as a global percentage, the first digit would be a '9'. And a lot of work has already gone in to making it easier to use, in different ways and for different purposes: there's JQuery, ExtJS, Google's own AngularJS, and I don't know what else out there. JS, in a word, has inertia.
If Dart is ever going to replace that, it has to build a comparable amount of inertia of its own. Now, 3 years after launch, what has it got?
Pretty much zip. Why should I learn Dart, when JQuery does everything I need it to just fine? Particularly while Dart is platform-specific, so for debugging purposes - at least for the foreseeable future - I'm still going to have to know Javascript anyway,
At this point, the name of the game is "fire and motion". Dart is a distraction. If you want to spend your time learning it and converting your apps to it - great, because that's time you're not spending building apps or platforms that might in any way worry Google.
How difficult it can it be to agree on this? This way anyone can use any language they wish. It's a win-win situation for Firefox and Google and probably for Microsoft because their underperforming new platforms will get loads of new applications. I seriously don't get corporations sometimes..
There should be no languages for "web development", only languages for quality development, with web being application delivery mechanism. Current dichotomy leads to loss of features and quality that was taken for granted decades ago.
I should be able to tell a webmail site to cache all e-mails locally and then have full access to attachments and instant full body search while offline. This requires multithreading, fast access to large binary files, precompilation and static typing for performance. Javascript is just not going to cut it. Maybe Dart would be allright, but good luck getting experienced developers and ready to use software packages. This particular task likely needs a full blown database.
Developers should be able to choose a language based on the problem they are trying to solve, not how the application will be delivered to the user.
he was providing an example of something that didn't end up as "a pile of turds smothered in 3 year old rotten turdonnaise, on a turdseed bun". not that i can talk, i tried knockout.js and decided this style of programming wasn't for me in the short term so i haven't tried angular.
This is a joke. I am joking. Joke joke joke.
the problem is that the standards body for ecmascript is so fucking slow and actually getting browsers to support the next version is even slower.
this causes people to think that maybe they can create their own ecosystem and bypass all the bullshit, what really needs to happen is someone forces everyone to stop fucking around and do it one way, not that i have any hope or belief that this is even possible.
This is a joke. I am joking. Joke joke joke.
This is what turned me off on Dart as well. Carte blanche optional typing is about as useful as no types at all. Either add static typing that is enforced or don't add types at all.
Also turned off by the arbitrary divergence from JS. Why?
If they would've required typing there would've been a hell of a lot more people complaining about it than the few who can't handle a little developer freedom. Sometimes you just want to scaffold out some code. Then something starts messing up, go back and add some types and see how your data moves through your application. Or start entirely with typing, then as you run into some of the pitfalls of typing, remove some of that typing and boom, your code is smooth again. It's really the best of both worlds as it allows for both typing people and non-typing people to work together through typedefs and interfacing. Or you can live wholly in either world! You also have to keep in mind that (a) the code is probably going to be compiled down to JavaScript (for the time being) and (b) that the production dart engine doesn't typecheck at all and that's a part of how they get their performance (there is a checked production option though too). BTW, have you seen this?
Not according to HR.
We're already hiring for somebody with 5-10 years of Dart programming experience. HR says we have to.
My God, it's Full of Source!
OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
Just what the internet needs...yet another layer of crap ontop of the already overbloated steaming pile.
AngularJS is also a pile of turds smothered in 3 year old rotten turdonnaise, on a turdseed bun. When people say "it's the shit", they are being literal.
Seriously though, AngularJS does kind of suck.
<script type="text/vbscript">
msgbox("ftw!")
</script>
Going back to school to get pieces of paper that say I "know" things that I already knew has been the story of my life. :(
I hope one day this concept becomes less forced.
The main problem in JavaScript is not the language that could be improved, but how reluctant are browser makers to agree how to improve it. I imagine it would be even harder to reach with a langage made by one browser vendor!
They so much didn't hear about Angular.js that the Angular team is working with them and has even created Angular.dart. imbecile.
I've tried knockout.js and I really like the style of programming; I just haven't found any practical use for it beyond very basic single-page web apps which would be just as easy to do without MVVM.
Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
Instead of some proper mil-spec language like Jovial or Ada. And it's delayed massively due to software problems. Co-incidence?
I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
It is made by google, other competitors won't accept Dart because of this. A standard for a new language needs to be determined by a comitee. Or not necessarily a language, maybe a VM where different languages can be compiled to. But dont see anything like this in the works right now ... everyone seems to think javascript is the way to go, although that language was
just designed for simple functions in a webpage, not big web applications
They basically recreated Java language, minus all libraries already available for Java.
839*929
Because those 5 recursive layers of 30 or 40 different applets on every website known to man aren't going to crush your machine by themselves, you know.
AngularJS was also created by Google.
"No man's life, liberty, or property are safe while the legislature is in session." -- Judge Gideon J. Tucker
Bless, you think HTML5 was developed with community support?
No, it was developed under dictator Ian Hickson's regime where he decided what happened and everyone else could go fuck themselves.
That's why it sucks so bad, because he had no idea what he was doing and refused to listen to those that did. There was nothing communal about HTML5, developers, device manufacturers, OS manufacturers, disability and open rights representatives were excluded completely. The only companies who got even the remotest say were Apple, Google and Mozilla, the rest were completely isolated from the process and that involves just about every web developer - i.e, the people who actually have to use the technology in question.
There was nothing open about HTML5, it was the most closed club spec with the poorest breadth of representation to date. The W3C was slow but at least it was democratic and everyones concerns were heard and everyone had a say.
So anyone trying to replace the DOM? You know, the thing that makes my life a living hell?
Really, Javascript is not THAT bad, sure there are numerous things that suck about it and it seems dart does fix much of that, but the DOM is the real problem. So does dart at least make interacting with the DOM less painful?
The problem with replacing the DOM is that all browsers would need to implement the alternative solution, any attempt to make a cross-compiler for the DOM is doomed to fail (like google GWT.) I don't know why google doesn't just push the android runtime into chrome and allow android apps to be used inside the browser and make plugins for the other browsers to do the same.
Javascript was open until Microsoft proprieterized it, resulting in a decade long billion dollar lawsuit. ( not to mention the hundreds of millions dollars blown in duplicate development time across thousands of companies world wide for no good reason) The inverse is now more true. A license that is evolutionally constrained, yet otherwise free, is actually more portable than one that is fully open. Nothing is yours unless possession of it can be reliably defended.
Primarily due to intellectual laziness, we have to live with these kids reinventing the wheel every few years. The world already had the perfect, dynamic, code-is-data-and-data-is-code solution, even when Javascript was just a twinkle in Brendan Eich's eye. That language and its VM-based runtime is/was called Common Lisp. But no, the kids had to cook up brain damaged formats like HTML, XHTML, XML, JSON, etc..and dingbat languages like Javascript and now this Dart thing. We could be at least 30 years ahead of where we are now, but no, we can't have nice things because certain so-called industry leaders -- the great minds I guess you would call them -- all have an irrational fear of parentheses.
Pathetic.
Apparently they already approved Dart as EMCA-408.
Until the "web design" community recognises that forcing users to download and execute unexamined code from untrusted sources, regardless of the language it's coded in, is the primary source of insecurity on the web we'll never fix the burgeoning breach problem. I constantly encounter static pages that won't render, and form submit buttons that do nothing, unless JavaScript is enabled - a pointless and idiotic position that could be avoided really easily by applying a little thought to what the end user actually needs.
The last thing the Internet needs is MORE Google. They have the most disingenuous and nasty corporate culture I've ever seen on the customer-facing side of an enterprise business.
Dear hipster, please tell me more about the things that are so unpopular, that I should know about.