User loginNavigation |
The Design and Implementation of a Dataflow Language for Scriptable DebuggingThe Design and Implementation of a Dataflow Language for Scriptable Debugging, Guillaume Marceau, Gregory H. Cooper, Jonathan P. Spiro, Shriram Krishnamurthi, and Steven P. Reiss.
We've seen a paper on compiling dataflow languages, so here's one on an interesting application. By neelk at 2007-02-20 02:06 | DSL | Functional | Implementation | Logic/Declarative | Software Engineering | 8 comments | other blogs | 11730 reads
Shape analysis for composite data structuresShape analysis for composite data structures. MSR-TR-2007-13.
Seems relevant to some of the discussions currently going on (e.g., how PLT can help practitioners). The analysis described in this paper fits in to the common structure of shape analyses, and is based on abstract interpretation. Lowering: A Static Optimization Technique for Transparent Functional ReactivityLowering: A Static Optimization Technique for Transparent Functional Reactivity, Kimberley Burchett, Gregory H. Cooper, and Shriram Krishnamurthi. PEPM 2007.
Whenever I read about compiler optimizations, I try (with mixed success) to relate them to transformations in the lambda calculus. I haven't managed to figure out what's going on with the By neelk at 2007-02-15 17:22 | Functional | Implementation | Logic/Declarative | 10 comments | other blogs | 11133 reads
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 | 39745 reads
Regular Expression Matching Can Be Simple And FastWith Peter's observation that everything good in Computer Science happened during the "Golden Age" freshly in mind, I found Russ Cox's recent article on regular expressions to be enjoyable reading.
Combining implementation details, finite automata, and a foray into decades-old theory, this article shows how most of our favorite little languages have an enormous performance bottlenecks for certain categories of string comparisons. An additional data point: The Shootout benchmarks have a large string comparison test. It's interesting that Tcl is at the top of the heap for performance. Guess which one is using the Thompson NFA algorithm for regular expressions? Lightweight Fusion by Fixed Point PromotionLightweight Fusion by Fixed Point Promotion, Atsushi Ohori and Isao Sasano.
Deforestation is one of those optimizations every functional programmer who has ever had to rewrite a beautiful composition of maps and filters into an evil, ugly explicit fold has always longed for. Unfortunately, the standard lightweight fusion algorithms have trouble with examples as simple as By neelk at 2007-02-12 23:52 | Functional | Implementation | Lambda Calculus | 4 comments | other blogs | 7169 reads
Gradual Typing for ObjectsGradual Typing for Objects. Jeremy Siek and Walid Taha.
The authors' previous work on gradual typing was discussed here. This brings it to an object-oriented setting which is (as the abstract points out) very directly applicable to mainstream scripting languages, at least in principle. [Edit: This is from the types list, where the authors also added: "We will present the paper at ECOOP 2007 and would be especially interested in any feedback on the paper before the final submission is due on April 25."] By Matt Hellige at 2007-02-12 21:44 | OOP | Semantics | Type Theory | 1 comment | other blogs | 14691 reads
Almost everything happened in the Golden Age, right?When writing CTM I was struck with how many of the good ideas in programming languages were discovered early on. The decade 1964-1974 seems to have been a "Golden Age": most of the good ideas of programming languages appeared then. For example:
It is a sobering thought that not much new stuff has come since then. Hindley-Milner type inferencing in 1978, constraint programming in 1980, CCS (precursor of pi-calculus) in 1980. What revolutionary new ideas came since 1980? Most of the work since then seems to have been in consolidation and integration (combining the power of the different ideas). Right? 50 years of “Syntactic Structuresâ€It seems that Chomsky’s Syntactic Structures was published fifty years ago this month. Unquestionably a historic event as far as linguistics and cognitive science is concerned. Just the other day I had a conversation with a (non CS) colleague about Chomsky. My friend argued that Chomsky is regarded as very important for CS. Not going into a full historical analysis I argued that most CS people are unaware of Chomsky, or at least don't see him as all that crucial to the discipline of CS. A CS undergrad probably encounters Chomsky when learning about the Chomsky Hierarchy in a formal languages course - which deals mostly with regular and context free languages, the lower rungs of the hierarchy. A more cautious historical analysis will show how Chomsky influenced CS, as well as much else, but I think my assessment of the way most computer scientists view Chomsky's impact on the field is fairly accurate. Still, many of us are interested in languages in general, as well as programming languages, and in the interaction between PLT and linguistics. So I think LtU is a good place to mention the fiftieth anniversary of Syntactic Structures, surely a landmark affair in 20th century science. The Missing Link - Dynamic Components for MLThe Missing Link - Dynamic Components for ML, Andreas Rossberg. ICFP 2006.
This is a very nice paper showing how to integrate dynamic loading into the ML module system. Er, I guess I'm repeating the abstract. I thought this paper, in addition to the feature it gave, was also a good demonstration of how to put the Dreyer-Crary-Harper account of ML modules to work. By neelk at 2007-02-10 19:32 | Functional | Implementation | Type Theory | 1 comment | other blogs | 9628 reads
|
Browse archives
Active forum topics |
Recent comments
3 weeks 6 days ago
4 weeks 16 hours ago
4 weeks 1 day ago
4 weeks 1 day ago
4 weeks 6 days ago
4 weeks 6 days ago
4 weeks 6 days ago
8 weeks 14 hours ago
8 weeks 5 days ago
8 weeks 6 days ago