User loginNavigation |
ImplementationA Language-Based Approach to Unifying Events and ThreadsA Language-Based Approach to Unifying Events and Threads
The implementation uses the CPS monad in such a way that the final result is a trace, that is, an ordered sequence of function calls. Threading is part of the basic monad implementation, and a scheduler is as simple as a tree traversal function over a queue of traces. Once you have a scheduler, events are obvious. By shapr at 2006-04-28 10:43 | Implementation | Software Engineering | 18 comments | other blogs | 29676 reads
Build your own scripting language for JavaJavaWorld has An introduction to JSR 223 for those that want to roll their own and target the JVM:
Past LtU references to JSR 223: The original announcement in Sun, Zend push scripting for Java and a brief mention in the thread on Embedded Languages in Java. Deconstructing Process IsolationDeconstructing Process Isolation.
The paper concludes that hardware-based isolation incurs performance costs of up to 25-33%, while the lower cost of SIPs permits them to provide protection and failure isolation at a finer granularity than conventional processes. Maybe it's time to revist the language-as-os theme... Transactional Memory with data invariants (draft sequel to the STM-Haskell paper)
Transactional memory with data invariants
From the abstract: This paper introduces a mechanism for asserting invariants that are maintained by a program that uses atomic memory transactions.This seems connected to Typed Contracts for Functional Programming by Ralf Hinze, Johan Jeuring, and Andres Löh (noticed on the blog of Dominic Fox). Maybe this year design-by-contract is the hot subject? I haven't gotten far enough into either of these papers to have much opinion, but the motivational paragraph at the beginning of the Typed Functional Contracts paper grabbed my attention instantly, and I know I want more STM in my applications, so I look forward to a few enjoyable hours. By shapr at 2006-03-30 11:04 | Functional | Implementation | Parallel/Distributed | Software Engineering | Theory | 7 comments | other blogs | 40022 reads
A Tail-Recursive Machine with Stack InspectionA Tail-Recursive Machine with Stack Inspection. John Clements and Matthias Felleisen, TOPLAS 2004.
I don't believe we've discussed this paper before, although it was mentioned in this thread. Tail calls have been a topic of discussion here several times. [1][2][3] By Dave Herman at 2006-03-02 02:43 | Implementation | Semantics | Theory | 5 comments | other blogs | 37241 reads
Tail call elimination decorator in PythonFeatures of a programming language, whether syntactic or semantic, are all part of the language's user interface. And a user interface can handle only so much complexity or it becomes unusable. This is also the reason why Python will never have continuations, and even why I'm uninterested in optimizing tail recursion. Thus spoke Guido - as LtU readers already know. Now, not even four weeks later, it has become clear that turning tail recursions into iterations can be achieved by an innocent little decorator in pure Python. No Rube Goldberg machine(s) in sight. By Kay Schluehr at 2006-02-28 07:33 | Functional | Implementation | Python | 35 comments | other blogs | 67250 reads
Leak Free Javascript ClosuresI haven't read this really, but it's in the queue for such a long time I might as well pass it along... By Ehud Lamm at 2006-02-26 20:31 | Functional | Implementation | 14 comments | other blogs | 9566 reads
A constraint-based approach to guarded algebraic data typesA constraint-based approach to guarded algebraic data types
By Paul Snively at 2006-02-07 15:18 | Functional | Implementation | Type Theory | login or register to post comments | other blogs | 6132 reads
Constraint-based type inference for guarded algebraic data typesConstraint-based type inference for guarded algebraic data types
By Paul Snively at 2006-02-07 15:16 | Functional | Implementation | Type Theory | login or register to post comments | other blogs | 5696 reads
A New Haskell and those anxious to changeHaskell' (pronounced "Haskell prime") is being formulated while we sleep. While the committee wants to incorporate into the new standard only "tried-and-true language features", a quick glance at the mailing list shows quite a few unimplemented ideas being tossed around. The same thing happens with the C++ standardization process. Is it a good idea to keep language standardization conservative? Herb Sutter would perhaps argue so, since the export feature in C++98 was so rarely implemented. So, is conservatism right for C++0x? Is it right for Haskell'? By Jim Apple at 2006-02-02 05:55 | Functional | Implementation | 12 comments | other blogs | 9883 reads
|
Browse archives
Active forum topics |
Recent comments
23 weeks 13 hours ago
23 weeks 17 hours ago
23 weeks 17 hours ago
45 weeks 1 day ago
49 weeks 3 days ago
51 weeks 1 day ago
51 weeks 1 day ago
1 year 1 week ago
1 year 6 weeks ago
1 year 6 weeks ago