User loginNavigation |
archivesHop: a Language for Programming the Web 2.0Hop, A Language for Programming the Web 2.0 From the abstract: "Hop is a new higher-order language designed for programming interactive web applications such as web agendas, web galleries, music players, etc. It exposes a programming model based on two computation levels. The first one is in charge of executing the logic of an application while the second one is in charge of executing the graphical user interface. Hop separates the logic and the graphical user interface but it packages them together and it supports strong collaborations between the two engines. The two execution flows communicate through function calls and event loops. Both ends can initiate communications." It appears to be implemented in Scheme. The Hop website has a nice demo. Continuations for Parallel Logic ProgrammingContinuations for Parallel Logic Programming
This paper happens to combine several topics that interest me lately - AKL (a precursor of Oz), denotational semantics, continuations, and implementing programming languages in Haskell. If you share at least some of these interests - take a look! By Andris Birkmanis at 2006-06-02 15:44 | Logic/Declarative | Parallel/Distributed | Semantics | 11 comments | other blogs | 7981 reads
Trying to get embedded python co-routines to workSorry if this has been talked about before, but I can't seem to find any resources on this site or with Google anywhere... I'm trying to get embedded python co-routines to work, and thinking about what the best strategy would be, so I figured I'd ask if anyone had dealt with this before. Basically what I'm looking to accomplish is a bunch of separate interpreter states (or threads I guess, if I can get that to work elegantly) that I schedule myself (i.e. when a certain process gets a tick, I tell the python thread to do a tick of its execution), with many sequential blocking functions for each process. So basically I want to have concurrently: Process A trying to do actions P, Q, R where I schedule when each one gets a tick, and the responsibility for "am I done" checking is inside P, Q, etc, not in A or B This would be a C application, with A and B being Python scripts and P, Q, etc being Python extensions written in C, possibly with Python wrappers... Some ways I'm considering doing it: Does anyone have any experience with this or anything similar? I hope my descriptions are clear enough... Thanks in advance, Raoul |
Browse archivesActive forum topics |
Recent comments
21 weeks 6 days ago
22 weeks 2 hours ago
22 weeks 2 hours ago
44 weeks 1 day ago
48 weeks 3 days ago
50 weeks 9 hours ago
50 weeks 10 hours ago
1 year 4 days ago
1 year 5 weeks ago
1 year 5 weeks ago