Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sethladd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
sethladd
12y ago
You might want to check out Dart ( https://www.dartlang.org ) * Optional types * The VM compiles source into machine code on the fly, or you can embed the VM into your app. * No pointers. * Core library is full-featured ( https:&#
32.
▲
New async and enum primitives in Dart spec, 2nd edition
(news.dartlang.org)
2 points
by
sethladd
12y ago
|
0 comments
33.
▲
by
sethladd
12y ago
Not sure about PDFs, but the text for Dart Up & Running can be found here: https://www.dartlang.org/docs/dart-up-and-running/ [disclaimer: I work for the Dart team, and I'm a coauthor of that book.]
34.
▲
by
sethladd
12y ago
I fixed our repo. The next time we push the site, it should be fixed. Thanks for the report!
35.
▲
by
sethladd
12y ago
Yikes! Not good. I just opened: https://code.google.com/p/dart/issues/detail?id=19708
36.
▲
by
sethladd
12y ago
Our pleasure. If you're curious, I'd recommend trying Polymer.dart again. The latest version (0.11) has a transformer that replaces the reflection code with static code. The resulting output is much smaller. :)
37.
▲
by
sethladd
12y ago
[disclaimer: I work on the Dart team.] 1) Dart VM runs on the command line and server. You can access files, directories, sockets, HTTP, Web sockets, SSL, and more. So the core functionality is all there, out of the box. 2) When people say
38.
▲
by
sethladd
12y ago
Hi! The Dart VM does run on the command line, and can access files, directories, sockets, HTTP, web sockets, and more. The Dart VM is an asynchronous light-weight server. I don't think Dart has a Java EE mentality. Far from it. :) [dis
39.
▲
by
sethladd
12y ago
Thanks for the helpful feedback! The latest version of Polymer.dart removes the need for reflection at compile time, and our output is much smaller today. Curious when you last tried compiling a Polymer Dart app? [disclaimer: I work for the
40.
▲
by
sethladd
12y ago
Also a good idea! Gah, I need more time.
41.
▲
by
sethladd
12y ago
The original developer is really good. Also, the original app is small-ish, so I really wouldn't expect too many (or any) bugs in the original app.
42.
▲
by
sethladd
12y ago
Hm, the blog has G+ comments on it. Apologies if that's not working. You can leave comments here, too :)
43.
▲
by
sethladd
12y ago
This makes me curious... what's the adoption of module loader, bower, etc, today for new small-ish apps. That is, what is the archetype JS project look like? Is there such a thing? So perhaps the question is, why didn't the origin
44.
▲
by
sethladd
12y ago
I don't know enough of the intimate details of Promises to know if Future == Promise. I hope I didn't make it sound like Future == Promise, but I do think they are quite similar in intention. Can you expand on why you think Future
45.
▲
by
sethladd
12y ago
I hope I didn't "pick on" anything. My attempt was to do a before/after and then list out what I, personally, learned. I thought I did say "JavaScript doesn't have some of these features like modules or promise
46.
▲
by
sethladd
12y ago
Ah, you mean "server side". Gotcha. Yes, building for the server is easier because you have a single runtime to target. In the case of Node, it's V8. In the case of Dart, it's Dart VM on the server.
47.
▲
by
sethladd
12y ago
I've clarified at the bottom of the post that JavaScript is probably going to get some of these features in the future. One of the points I was trying to make was Dart has these features now (and because Dart compiles to JS, it means
48.
▲
by
sethladd
12y ago
The header of the layout says "Dart DevRel @ Google,", as you mention the sidebar has a bio (which I will move up), and I just added a note to the beginning of the article. Thank you for the feedback, and thanks for reading.
49.
▲
by
sethladd
12y ago
Thank you for calm and reasoned explanation. It's easy to address. Aaaaand, done, I added a little note at the top. re: your personal feedback, thanks very much. The Music DNA app is pretty simple, there's not a lot of specific bu
50.
▲
by
sethladd
12y ago
The header on the blog says "Dart DevRel @ Google", and the sidebar says "Seth is a web engineer and Chrome Developer Advocate". I apologize it wasn't obvious enough. I agree, it should be obvious that I work at Goo
51.
▲
by
sethladd
12y ago
Can you be more specific about what "API side" means?
52.
▲
by
sethladd
12y ago
Yup, thanks! What's the story for modern browsers that don't yet support those features? Do they both have polyfills? As I mentioned in the article, libraries and futures aren't exclusive to Dart. It's just that they are
53.
▲
by
sethladd
12y ago
I picked the Music DNA app not because it makes Dart look good, but because I never really used Web Audio API before and the app looked good. If I really wanted to cherry pick, I wouldn't have picked an app that uses a third-party JS l
54.
▲
by
sethladd
12y ago
Luckily, Dart compiles to JavaScript, so we don't need to wait for browser adoption of the VM. The questions that I see as important are: "Do my Dart apps, when compiled to JavaScript, work across the modern web?" and "A
55.
▲
by
sethladd
12y ago
Good question, I'll try to add that. Maybe more importantly, what is the startup time for the two versions?
56.
▲
by
sethladd
12y ago
Thanks for the feedback. I did point out, in the end of the article, that some of the techniques (e.g. libraries, futures) aren't impossible in JavaScript. And I'm really happy to hear they might be coming to a future version of J
57.
▲
How Dart won over Coffeescript halfway through the game
(chadoh.com)
7 points
by
sethladd
13y ago
|
0 comments
58.
▲
Angular and Polymer, sitting in a DOM tree. B-i-n-d-i-n-g.
(blog.sethladd.com)
1 points
by
sethladd
13y ago
|
0 comments
59.
▲
by
sethladd
13y ago
I think the web was a big success on desktop (modulo some pretty big apps like Photoshop, and we should ask ourselves why apps like Photoshop never landed in the browser, and then fix those issues). As for mobile, it's clear a lot of c
60.
▲
by
sethladd
13y ago
Have you tried to use source maps to help debugging? Plenty of compile-to-JavaScript languages support source maps, and even some CSS frameworks. Building complex/large apps without a compiler and tools is really difficult. GWT, Closur
More ›