3 ms·
Wait a moment Lars Bak and Gilad Bracha? I really like Gilad Brachas newspeak language. I really like people who can make good Jits. - Gilad Bracha was working
by nickik 15y ago
Wait a moment Lars Bak and Gilad Bracha? I really like Gilad Brachas newspeak language. I really like people who can make good Jits.
- Gilad Bracha was working on a way to run Newspeak in the browser.
- Newspeak is a bad name because Newspeak is a bad thing, when I read Newspeak I think "bad". The could mean that if google would want to support it they would maybe change the name.
So my guess is:
Dart is Newspeak that runs on the browser and on the server and it gets support by google.
- alexatkeplar 15y agoI reckon you're right. The involvement of Gilad Bracha suggests that V8 plays a big part - probably Google are extending it so that V8 can compile Dart to machine code and run it, same as it can JavaScript. This would be cool for server-side apps. Probably there's a CoffeeScript-style transcompiler too to convert Dart (or a subset?) to JavaScript for execution client-side in non-Chrome browsers (any V8 browser could "speak" Dart directly)...
- nickik 15y agoI think its hard to belive that google would make a client site language that works only on V8. Chrom does not have enough marked share to do something like that. It need to run everywhere. There are two ways you could go about this: - Write a VM in JS where you run Dart/Newspeak on. This could be a Interpreter or to make it fast a Jit that runs ontop of a JS VM. Jit on a Jit has been don before (pypy with the .NET backend is an example (look for the paper on the website its very intressting) - Write a compiler like CoffeeScript or ClojureScript. I think with newspeak gilad when down the VM road as far as I know (don't hold me to that). Maybe the are snicky and work it in a way that it runs anywhere JS runs but build spezial support into V8 to make it faster.
- alexatkeplar 15y agoThe JS VM idea is really interesting - because it frees a language from having to have basically a one-to-one mapping between the new language and JavaScript a la CoffeeScript. So I'm going to update my guess: I reckon Dart will be a tweaked version of Newspeak natively supported by V8 (server and Chrome browser), plus a JavaScript VM for running Dart on non-Chrome browsers. More of a guess, but I imagine it might come with its own node.js-y framework with perhaps some interesting Seaside-style continuation approach and/or Lift-style view-oriented approach...
- acqq 15y agoI'm glad that you like it, maybe you can explain to me: Newspeak is a Smalltalk variant, and, if I understand: http://bracha.org/newspeak-101.pdf http://bracha.org/newspeak-101.pdf it can currently work only in its own IDE, which, IMHO, immensely reduces the possibilities for its application. Even if we get "a kind of smalltalk in a browser" who's going to use it? Imagine, all that goodness I have in my favorite editor, just goes away. I'm supposed to click around in some IDE modifying some classes with something, only to change something that works only in that same single IDE? What should be the real use of it all?
- nickik 15y agoYou have a missunderstanding of what Newspeak is. Sure its somewhat like Smalltalk but its not an image based system. It is perfectlly happy to run without the IDE. Newspeak is somewhat tied to its IDE but that not inherent. Newspeak has the feature of not having a global namespace this means all the functions that a global namespace normaly provieds has to be tied to some tool outside of the language. At the moment I think theres only the IDE that can do this but I remember Gilda saying that it would be easy to do this in other tools (think something like make). Im no expert on newspeak but that how I understand it.