TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Google introduces Dart, a new programming language for web applications

127 pointsby andysinclairover 13 years ago

14 comments

sambeauover 13 years ago
While Google may need this for building large applications, this is something that the web could do without.<p>The web needs a standard Intermediate Language: a machine code. This is what Javascript is becoming and it isn't well designed for it.
评论 #3093646 未加载
评论 #3093245 未加载
评论 #3093205 未加载
评论 #3093944 未加载
harshawover 13 years ago
While looking through the sample code I found this gem:<p>static bool isVm() { return 1234567890123456789 % 2 &#62; 0; }<p>Funny enough in javascript 1234567890123456789 % 2 == 0.
Meaiover 13 years ago
No IDE support, no VM in Chrome yet, also no support for calling existing javascript libraries. These three things guarantee no quick adoption. I have no idea what Google is thinking.
评论 #3092996 未加载
评论 #3093049 未加载
评论 #3093193 未加载
评论 #3093372 未加载
mathattackover 13 years ago
I can't open the website on my iPhone. I hope that's not a karmic hint on the interoperability of the language.
mericover 13 years ago
More discussion: <a href="http://news.ycombinator.com/item?id=3092558" rel="nofollow">http://news.ycombinator.com/item?id=3092558</a> (it happens to be the top link also)
bniover 13 years ago
Is the JavaScript that comes out of the Dart compiler/transpiler readable (like the JS CoffeScript generates) or is it mush like GWT?
评论 #3093118 未加载
mikerg87over 13 years ago
Did I miss the part where it says this will be an open standard? This looks like embrace and extended but I hope I am wrong.
评论 #3097212 未加载
评论 #3148627 未加载
pacemkrover 13 years ago
I was expecting something more innovative.<p>All it is is a javascript like language with classes, interfaces, optional types, and some extra built in data structures. A new runtime, biggest obstacle being adoption, just for that seems a bit much.
frou_dhover 13 years ago
That page crashed MobileSafari on iPad and continues to after a reboot. Is it just me?
评论 #3092955 未加载
评论 #3093034 未加载
评论 #3092886 未加载
评论 #3093805 未加载
评论 #3093912 未加载
thomasflover 13 years ago
The optionally static types in the Dart language seems like a good idea. You get both beautiful, simple code, like in Ruby, and the possibility to speed up execution by adding types later.<p>On the other hand, you still don't have the great community like for instance ruby has. Charles Nutter has created a static typed ruby like language, called Mirah, which looks similar.
评论 #3092853 未加载
thirstehover 13 years ago
One of the design goals: "Ensure that Dart delivers high performance on all modern web browsers and environments ranging from small handheld devices to server-side execution."<p>Server-side execution? I thought Go was their systems programming language? It sure sounds like they're competing rather than complementing each other.
评论 #3093021 未加载
评论 #3093377 未加载
grandalfover 13 years ago
This is a great idea. With optional typing + V8 this could be really fast. Google can leverage its strengths while opening up a language that lots of people already know to additional server side use.
rorrrover 13 years ago
Unless all major browsers support it, the adoption will be painful and slow.<p>It also seems like another incarnation of GWT, which, I heard, google abandoned.
评论 #3092764 未加载
评论 #3092769 未加载
saiko-chriskunover 13 years ago
yes finally an alternative to javascript! zomg so excited :3