User loginNavigation |
JavascriptDavid Pollak on liftThe video and slides of David Pollak's BayFP presentation on lift are available online.
While the thrust of the talk is on lift as a web framework, you get a very nice intro to Scala along the way, and David even mentions a quick way to get a PLT PhD, for those interested in that sort of thing... By Ehud Lamm at 2007-11-15 00:03 | Javascript | Ruby | Scala | 15 comments | other blogs | 11776 reads
Caja: Capability JavascriptI’ve been running a team at Google for a while now, implementing capabilities in Javascript....a Caja program will run without modification on a standard Javascript interpreter - though it won’t be secure, of course! When it is compiled then, like CaPerl, the result is standard Javascript that enforces capability security. What does this mean? It means that Web apps can embed untrusted third party code without concern that it might compromise either the application’s or the user’s security...I’m very excited about this project and the involvement of some world class capability experts, including Mark Miller (of E fame) who is a full-time member of the Caja development team. This could possibly be a very important development. I haven't delved into Caja, but I know some members know all there is to know, so perhaps they can enlighten us about the details... ECMAScript Edition 4 and Backwards CompatibilityThere's a new document on the incompatibilities between ECMAScript Edition 3 and the proposed Edition 4. Given the recent controversy in the blogosphere and the degree of interest in last week's discussion of the proposed ES4, this document may be of interest to LtUers. It's also interesting to think of conservative extension not as an all-or-nothing property, but to judge incompatibilities in terms of their impact. This document attempts to enumerate and classify the different ways the proposed ES4 spec conflicts with the specification of ES3. (One last note: there's a new pre-release of the reference implementation available, with binaries for all major platforms. Check it out!) Technometria: Google Web ToolkitPhil Windley Technometria podcast is dedicated to the Google Web Toolkit. The guest on the show is Bruce Johnson a Tech Lead of GWT. The show is very good, and more technical than usual. Many themes that are near and dear to LtU are discussed. Here are some pointers: Bruce talks at length about the advantages of compiling from Java to JS, many of which arise from Java's static typing. He mainly talks about optimizations, but also about how static typing helps with tools in general (IDEs etc.). This was a subject of long and stormy debates here in the past. The advantages, from a software engineering standpoint, of building in Java vs. JS are discussed. This is directly related to the ongoing discusison here on the new programming-in-the-large features added to JS2. I wonder if someone will write a compiler from Java/GWT to JS2 at some point, which will enable projects to move to JS2 and jump ship on Java all together. Bruce mentions that since JS isn't class-based, and thus doesn't directly support the OO style many people are used to, there are many ways of translating common OO idioms into JS. This is, of course, the same type of dilemma the Scheme community has about many high level features. Cast as a question on OOP support the questions becomes is it better to provide language constructs that allow various libraries to add OO support in different ways, or to provide language support for a specific style. The same can be asked about a variety of features and programming styles, of course. Finally, Bruce mentions that as far as he knows no one thought about something like GWT before they did. Well, I for one, and I don't think I was the only one, talked many times (probably on LtU) about Javascript as a VM/assembly language of the browser, clearly thinking about JS as a target language. I admint I wasn't thinking aobut compiling Java... But then, I am not into writing Java, so why would I think about Java as the source language... By Ehud Lamm at 2007-10-29 04:53 | Cross language runtimes | DSL | Implementation | Javascript | 15 comments | other blogs | 13232 reads
ECMAScript 4 overview paperAn overview paper describing ECMAScript 4 has been added to the ECMAScript site. It was recently announced on the mailing list:
Code Splitting for Network Bound Web 2.0 ApplicationsCode Splitting for Network Bound Web 2.0 Applications. Benjamin Livshits, Chen Ding. August 2007.
Once upon a time there was a lot of research on mobile code. It seemed like it was going nowhere. Then came Javascript, AJAX and Web 2.0, and in a worse-is-better fashion Javascript became the mobile code platform of choice. Maybe now is a good time to resume research on the subject... By Ehud Lamm at 2007-09-22 13:19 | Javascript | Software Engineering | 3 comments | other blogs | 7750 reads
ECMAScript Edition 4 Reference ImplementationThe first pre-release of the reference implementation of ECMAScript Edition 4 (a.k.a. JavaScript 2) is now available. We've created a new web site for information about the ECMAScript specification and reference implementation. You can download source and binary forms of the reference implementation. As we've discussed before here on LtU, the reference implementation of ECMAScript is being written in Standard ML. This choice should have many benefits, including:
This pre-release is just our first milestone, i.e., the first of many "early and often" releases. Neither the specification nor the reference implementation is complete, and this early implementation has plenty of bugs. We encourage anyone interested to browse the bug database and report additional bugs. We're happy to hear your feedback, whether it's bug reports or comments here on LtU or on the es4-discuss mailing list. "The language of the future is javascript"Raph Levien has posted an article The browser wars are once again upon us a few days ago to advogato, covering the current state of the landscape for client-side web programming, and ends by saying In any case, one thing seems clear, if surprising: the language of the future is JavaScript. Threads in JavaScript?Threads in JavaScript? "Over your dead body," says Brendan. But Neil Mix begs to differ -- they're already there! Neil's latest blog post presents a cool hack combining JavaScript 1.7's generators with trampolined style to implement very lightweight cooperative threads. The implementation weighs in at a breathtakingly small 4k. By Dave Herman at 2007-02-14 00:43 | Implementation | Javascript | Object-Functional | Parallel/Distributed | 19 comments | other blogs | 39430 reads
Grammar VisualizationAn interesting visual comparison of the grammars of Ruby, Java 1.5 and Javascript. Anyone care to interpret the graphs? By Ehud Lamm at 2006-11-23 22:42 | General | Javascript | Ruby | 7 comments | other blogs | 12078 reads
|
Browse archives
Active forum topics |
Recent comments
1 week 21 hours ago
41 weeks 2 days ago
41 weeks 2 days ago
41 weeks 2 days ago
1 year 11 weeks ago
1 year 15 weeks ago
1 year 17 weeks ago
1 year 17 weeks ago
1 year 19 weeks ago
1 year 24 weeks ago