User loginNavigation |
Subcontinuations
Subcontinuations.
Robert Hieb, R. Kent Dybvig, Claude W. Anderson. Lisp and Symbolic Computation 1993.
...traditional continuations are not useful in the presence of concurrency, because the notion of the rest of the computation represented by a continuation does not in general make sense... Strangely enough this paper wasn't discussed here, even though it was mentioned in the discussion group a long time ago. Now's the time to rectify this omission.
Implementing Declarative Parallel Bottom-Avoiding Choice
Implementing Declarative Parallel Bottom-Avoiding Choice. Andre Rauber Du Bois, Robert Pointon, Hans-Wolfgang Loidl, Phil Trinder. Symposium on Computer Architecture and High Performance Computing (SBAC-PAD) 2002.
Non-deterministic choice supports efficient parallel speculation, but unrestricted non-determinism destroys the referential transparency of purely-declarative languages by removing unfoldability and it bears the danger of wasting resources on unncessary computations. While numerous choice mechanisms have been proposed that preserve unfoldability, and some concurrent implementations exist, we believe that no compiled parallel implementation has previously been constructed. This paper presents the design, smantics, implementation and use of a family of bottom-avoiding choice operators for Glasgow parallel Haskell. The subtle semantic properties of our choice operations are described, including a careful classification using an existing framework, together with a discussion of operational semantics issues and the pragmatics of distributed memory implementation. amb breaks referential transparency (e.g., think about (\x.x+x)(3 amb 5) - how many choice points are there?) This paper presents the problems, and shows how to implementat bottom-avoiding choice operators in Galsgow parallel Haskell (GPH). The paper is worth checking out for the references alone, which can server as a useful guide to the subject of non-determinism in functional languages. Section 3 of the paper summarizes the semantic properties of the choice operators, and can be a good place to start reading if you are familiar with the subject. A Conversation with Manfred von ThunManfred von Thun speaks about the history and future of Joy. By Mark Evans at 2004-08-24 20:37 | History | login or register to post comments | other blogs | 6718 reads
Every language you never wanted to knowThe Virtual Unknowns (alternative link - apparently the one I gave earlier may expire) Vacation
I'll be away from my computer until Wednesday. Editors are urged to keep the good bits flowing.
By Ehud Lamm at 2004-08-21 17:48 | Admin | login or register to post comments | other blogs | 3782 reads
Goedel's Theorem and Theories of Arithmetic
Logic is the cornerstone of computer science in general and much of programming language theory in particular. Goedel's results are fundamental for any real understanding of modern logic.
This book by Peter Smith might serve as an introduction to Goedel's incompleteness results. Twelve chapters are online, and seem quite readable. New result re "linguistic determinism"Hunter-gatherers from the Piraha tribe, whose language only contains words for the numbers one and two, were unable to reliably tell the difference between four objects placed in a row and five in the same configuration, revealed the study. A new study may provide the strongest support yet for the controversial hypothesis that the language available to humans defines our thoughts. The result is controversial enough that I withhold judgement until I read the journal paper. Error handling strategies
Some kind of language support for error handling (e.g exceptions of various kinds, on error blocks, Maybe types, continuations etc.) has become standard. The exact mechanism is yet another language design decision designers have to make.
Eric Lippert describes VBScript's error handling mechanims. The VBScript approach is perhaps more confusing than it has to be (though I personally didn't find Eric's examples confusing). Tying exception handlers to blocks is more structured and perhaps better. Be that as it may, I think better error handling constructs are still waiting to be discovered (or designed). Graham Hutton: Programming in Haskell
The first five chapters of Hutton's introductory Haskell book are online.
The chapters cover fairly basic features, and wouldn't be of interest to the Haskell experts among us, except as teaching material. However, those intrigued by all the recent references to Haskell can get a taste of what Haskell is about from this readable introduction. Preliminary call for participation to MOZ 2004MOZ 2004 is devoted to bringing together people interested MOZ 2004 will have two invited speakers (Gert Smolka, the By Peter Van Roy at 2004-08-18 13:25 | General | login or register to post comments | other blogs | 4383 reads
|
Browse archives
Active forum topics |
Recent comments
23 weeks 1 day ago
23 weeks 1 day ago
23 weeks 1 day ago
45 weeks 3 days ago
49 weeks 4 days ago
51 weeks 2 days ago
51 weeks 2 days ago
1 year 1 week ago
1 year 6 weeks ago
1 year 6 weeks ago