new Printer().spawn().then((port) {
for (var message in ['Hello', 'from', 'other', 'isolate']) {
port.send(message);
}
port.send(null);
});
Has readability been completely wiped from the language design criterion these days?
Name:
Anonymous2011-10-10 7:37
Why do they use JavaScript interpreters as a target platform for dynamic languages when Scheme would be much better suited for that purpose? Minimal parsing overhead, regular semantics and standard library.
Name:
Anonymous2011-10-10 7:51
>>5
Javascript was originally designed to be Scheme for the browser with Java style syntax. You're probably not aware of the sort of effort the big three are investing to make their JS implementations as efficient as can be.
Name:
Anonymous2011-10-10 7:53
>>6
I am aware of both of these facts. I just don't understand the point of using JavaScript instead of the real thing.
Name:
Anonymous2011-10-10 8:12
>>7
I would guess greater familiarity with JS over Scheme. If it was me, I'd target LLVM which may possibly be translated to JS.
Another language by Google whose name is impossible to google.
Name:
Anonymous2011-10-10 8:26
Another? It will never catch on.
Name:
FrozenVoid2011-10-10 8:51
Feels like adding a layer of Java inside JavaScript. Google should instead improve the internals of language and leave syntax similar to JavaScript.
If they want web developers to use it, they need to improve JavaScript itself, not to try to shove another Java inside a browser. I think they are in the opinion that JS spec is too flexible to optimize and want to get something more static with some declarative overhead so the VM can optimize.
Google's Latest and greatest language..Compiled with python,java and XML http://code.google.com/p/dart/source/browse/branches/bleeding_edge/dart/compiler/dartium.gyp
Oh hey look it's another
[ ] Web Application Framework
[X] Web Programming Language
[ ] Open Source Web Server
[ ] Any other Web 2.0 related, exciting and new technology
>>1
I love the implication that JavaScript is the current best thing out there, and the reason people use it is just that nothing better has come along yet.
>>17
Not only is it true, there's nothing Google will ever do to change it. Same shit syntax problems, worse object model, more PHPisms. I'll take rust, with the same shit syntax and improved everything else.
Name:
Anonymous2011-10-10 14:39
"Dart code is always single threaded. There is no shared-state concurrency in Dart."
Same useless concurrency model. Might as well stick with javascript.
>>25
You can ignore comments like that. JS is slow in the browser for the same reason everything else is: the document it's embedded in is costly to manipulate, or even do computations based on.
>>29
Nobody used it, that happened. It's not exactly portable (compiers only for two architectures) and nobody really knew what the fuck is the use for it.
>>29
It takes a long time for new languages to get established. The test of its longevity depends on what sort of activity is happening 12 years after its public release.
Google Fart is the worst attempt to replace javascript since vbscript. No infix functions, no sum types, no pattern matching, no nothing. Huge disappointment. I hope they won't try too hard to shove it up our asses.