User loginNavigation |
ImplementationTechnometria: 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 | 13523 reads
The End of an Architectural Era (It’s Time for a Complete Rewrite)The End of an Architectural Era (It’s Time for a Complete Rewrite). Michael Stonebraker, Samuel Madden, Daniel J. Abadi, Stavros Harizopoulos, Nabil Hachem, Pat Helland. VLDB 2007. A not directly PL-related paper about a new database architecture, but the authors provide some interesting and possibly controversial perspectives:
The somewhat performance-focused abstract:
A critical comment by Amazon's CTO, Werner Vogels. By Manuel J. Simoni at 2007-10-19 13:46 | DSL | Implementation | Logic/Declarative | Ruby | 22 comments | other blogs | 25389 reads
binpac: A yacc for Writing Application Protocol Parsersbinpac: A yacc for Writing Application Protocol Parsers. R. Pang, V. Paxson, R. Sommer, and L. Peterson. ACM Internet Measurement Conference. October 2006.
Binpac nicely abstracts away issues such as large numbers of concurrent, asynchronous parsing processes and protocol specifics (such as HTTP's chunked encoding). A parser for a large part of HTTP is presented in the paper and fits on half a page. The authors have also written parsers for CIFS/SMB, DCE/RPC, DNS, NCP, and Sun/RPC. By Manuel J. Simoni at 2007-10-17 19:42 | DSL | Implementation | Parallel/Distributed | 3 comments | other blogs | 18091 reads
Derivation and Evaluation of Concurrent CollectorsDerivation and Evaluation of Concurrent Collectors, Martin T. Vechev, David F. Bacon, Perry Cheng, and David Grove. ECOOP 2005.
By neelk at 2007-10-04 16:15 | Implementation | Parallel/Distributed | 4 comments | other blogs | 7975 reads
The Manticore ProjectStatus Report: The Manticore Project. Along the lines of Concurrent ML comes a new language design that is aimed at the parallelism of multicore CPUs.
Interesting material in terms of approach and implementation based on an ML style language (sans mutable variables). But the underlying assumption that language design offers the best path to solving parallelism is probably the key appeal for LtU:
And as long as we're on the subject, I see that Reppy's book on Concurrent ML is now in paperback form (moving it more into my price range). By Chris Rathman at 2007-10-03 05:50 | Implementation | Parallel/Distributed | 12 comments | other blogs | 10193 reads
Zipper as InsecticideFrom the 2005 ACM SIGPLAN Workshop on ML, here is An Applicative Control-Flow Graph Based on Huet's Zipper, by Norman Ramsey and João Dias.
By Anton van Straaten at 2007-09-07 01:54 | Functional | Implementation | login or register to post comments | other blogs | 11601 reads
Tagless Staged Interpreters for Simpler Typed LanguagesFinally Tagless, Partially Evaluated, Tagless Staged Interpreters for Simpler Typed Languages.
Oleg explains: It seems like a common wisdom that an embedding of a typed object language (e.g., DSL) to a typed meta-language so that all and only typed object terms can be represented requires dependent types, GADTs or other such advanced type systems. In fact, this problem of writing (tagless) type-preserving typed interpreters has been the motivation for most of the papers on GADTs. We show that regardless of merits and conveniences of GADTs, type-preserving typed interpretation can be achieved with no GADTs whatsoever, using very simple type systems of ML or Haskell98. We also show the same approach lets us perform statically type-preserving partial evaluation and call-by-value or call-by-name CPS tansformations. The latter transformations, too, are often claimed impossible in Haskell98 or ML - requiring instead quite advanced type systems or language features.
The complete (Meta)OCaml and Haskell code accompanying the paper is One of features of our approach is writing the DSL code in a form that can be interpreted in multiple ways. Recently we have become aware the very same approach underlies `abstract categorial grammars' (ACG) in linguistics. Chung-chieh Shan has written an extensive article on this correspondence. That post itself can be interpreted in several ways: the file can be read as plain text, or it can be loaded as it is in Haskell or OCaml interpreters. It should be noted that the linguistic terms `tectogrammatics' and `phenogrammatics' were coined by none else but Haskell Curry, in his famous 1961 paper 'Some Logical Aspects of Grammatical Structure'. The summary of the ESSLLI workshop describes further connections to linear lambda-calculus. The paper has been accepted for APLAS; the authors appreciate any comments indeed. By Ehud Lamm at 2007-09-04 09:35 | Implementation | Meta-Programming | Type Theory | 30 comments | other blogs | 31766 reads
A functional correspondence between evaluators and abstract machinesA functional correspondence between evaluators and abstract machines by Mads Sig Ager, Dariusz Biernacki, Olivier Danvy, and Jan Midtgaard, 2003.
I was surprized not to find this paper featured in a story on LtU, as it looks very important both from implementation and understanding points of view. By Andris Birkmanis at 2007-08-25 15:26 | Implementation | Semantics | 6 comments | other blogs | 13894 reads
Beyond Pretty-Printing: Galley Concepts in Document Formatting CombinatorsBeyond Pretty-Printing: Galley Concepts in Document Formatting Combinators, Wolfram Kahl. 1999.
We've talked about functional layout algorithms for mathematics before, so it seems like a good idea to link to a paper about typesetting all the text those formulas are surrounded by. By neelk at 2007-08-24 08:39 | DSL | Functional | Implementation | 5 comments | other blogs | 10876 reads
Status Report: HOT Pickles, and how to serve themStatus Report: HOT Pickles, and how to serve them, Andreas Rossberg, Guido Tack, and Leif Kornstedt. ML Workshop 2007.
|
Browse archives
Active forum topics |
Recent comments
1 week 2 days ago
1 week 3 days ago
13 weeks 3 days ago
13 weeks 4 days ago
13 weeks 6 days ago
13 weeks 6 days ago
14 weeks 4 days ago
14 weeks 4 days ago
14 weeks 4 days ago
17 weeks 4 days ago