Please save us from JavaScript, google.
Celebrating Dart’s birthday with the first release of the Dart SDK
11–20 of 21 posts
Re: Celebrating Dart’s birthday with the first release of the Dart SDK
#12Please save us from JavaScript, google.
I agree with the sentiment. However, I hesitate to embrace Dart, after Google killed off a huge number of APIs earlier this year. Go seems to have much more traction at Google so I think it is safe, but Dart still has an experimental feel to it. I'd like to hear a long-term commitment from Google to Dart before I really jump in.
Re: Celebrating Dart’s birthday with the first release of the Dart SDK
#13TypeScript:
typescript.org
click "Get the source code"
click "Download"
Dart: dartlang.org
click "Download now"
click "Check out" the source code
click PreparingYourMachine
wget http://src.chromium.org/svn/trunk/src/build/install-build-deps.sh
bash install-build-deps.sh
install 32-bit dev libraries
svn co http://src.chromium.org/svn/trunk/tools/depot_tools
export PATH=$PATH:`pwd`//depot_tools
install jdk 1.6
gclient config http://dart.googlecode.com/svn/branches/bleeding_edge/deps/all.deps
gclient sync
Seriously just to get the source you have to run two downloaded programs, any linux besides Ubuntu requires extra work, and even still it comes with some pre-built 32-bit binaries which apparently are compiled as part of another project. It's madness.They say it's so complicatd because Dart is part of Chromium, but Firefox has a direct hg link -plus- hg bundles (repository snapshot).
Re: Celebrating Dart’s birthday with the first release of the Dart SDK
#14I don't get it why they make it so difficult to get the source code. TypeScript: typescript.org click "Get the source code" click "Download" Dart: dartlang.org click "Download now" click "Check out" the source code click PreparingYourMachine wget http://src.chromium.org/svn/trunk/src/build/install-build-deps.sh bash install-build-deps.sh install 32-bit dev libraries svn co http://src.chromium.org/svn/trunk/tools/depo…
I guess they can make it easier. But,
- The procedure you wrote is not that hard for a developer who wants to build the whole thing.
- Dart has much much more stuff than typescript. (vm, browser, editor etc)
Re: Celebrating Dart’s birthday with the first release of the Dart SDK
#15I don't get it why they make it so difficult to get the source code. TypeScript: typescript.org click "Get the source code" click "Download" Dart: dartlang.org click "Download now" click "Check out" the source code click PreparingYourMachine wget http://src.chromium.org/svn/trunk/src/build/install-build-deps.sh bash install-build-deps.sh install 32-bit dev libraries svn co http://src.chromium.org/svn/trunk/tools/depo…
This will get you the source:
svn checkout http://dart.googlecode.com/svn/trunk/ dart-read-only
Or you can go over to GitHub[1] and download a zip.Re: Celebrating Dart’s birthday with the first release of the Dart SDK
#16I don't get it why they make it so difficult to get the source code. TypeScript: typescript.org click "Get the source code" click "Download" Dart: dartlang.org click "Download now" click "Check out" the source code click PreparingYourMachine wget http://src.chromium.org/svn/trunk/src/build/install-build-deps.sh bash install-build-deps.sh install 32-bit dev libraries svn co http://src.chromium.org/svn/trunk/tools/depo…
svn checkout http://dart.googlecode.com/svn/trunk
That isn't terribly easy to find, though, it's true (you either have to have used google code before and know it's on the "checkout source" page or dig through those "get and build" instructions for just the "get" part).
The rest is just dependencies (and daunting at first, but pretty simple after you do any chromium work). You have to deal with the same thing if you check out Firefox and you want to build it (gclient here becomes bootstrap.py there).
Re: Celebrating Dart’s birthday with the first release of the Dart SDK
#17I don't get it why they make it so difficult to get the source code. TypeScript: typescript.org click "Get the source code" click "Download" Dart: dartlang.org click "Download now" click "Check out" the source code click PreparingYourMachine wget http://src.chromium.org/svn/trunk/src/build/install-build-deps.sh bash install-build-deps.sh install 32-bit dev libraries svn co http://src.chromium.org/svn/trunk/tools/depo…
Re: Celebrating Dart’s birthday with the first release of the Dart SDK
#18I don't get it why they make it so difficult to get the source code. TypeScript: typescript.org click "Get the source code" click "Download" Dart: dartlang.org click "Download now" click "Check out" the source code click PreparingYourMachine wget http://src.chromium.org/svn/trunk/src/build/install-build-deps.sh bash install-build-deps.sh install 32-bit dev libraries svn co http://src.chromium.org/svn/trunk/tools/depo…
That's not how you get the source, that's how you prepare for building the whole project, including the VM, compiler, etc. If you just want the source code, just svn checkout http://dart.googlecode.com/svn/trunk That isn't terribly easy to find, though, it's true (you either have to have used google code before and know it's on the "checkout source" page or dig through those "get and build" instructions for just the…
I just wanted to check out the source, but setting up an Ubuntu VM to isolate gclient and that other nonsense was way too much work.
Re: Celebrating Dart’s birthday with the first release of the Dart SDK
#19Earlier quoted context omitted.
I agree with the sentiment. However, I hesitate to embrace Dart, after Google killed off a huge number of APIs earlier this year. Go seems to have much more traction at Google so I think it is safe, but Dart still has an experimental feel to it. I'd like to hear a long-term commitment from Google to Dart before I really jump in.
From what I see, Go is not really meant for web development. I think Google's real bet on web and general app development will be Dart, as Go looks more like a C++ replacement. Also from the project page, I see like 80 people are committing to Dart so that sounds pretty promising ( https://code.google.com/p/dart/people/list ).
Re: Celebrating Dart’s birthday with the first release of the Dart SDK
#20Dart (currently) doesn't seem to have any compelling use cases.
If people make tools with in build refactoring and other nice features that make productivity a compelling use case, maybe Dart has a chance to grow~
Still, given the tools that already exist for working on JS, there's still a long way to go before this will be enough to drag javascript developers over to dart...