User loginNavigation |
archivesHow widespread are inhouse DSLs?
A student asked me this question, and apart from saying that quite a large percentage of large organizations use in house DSLs, I couldn't give any details, nor am I aware of any research.
So if anyone came across a survey or research report that gives useful (hopefully current) information about DSL use, I'd be glad to hear about it. Garbage collecting computationsImagine a process starting two computations, and as soon as one of them returns, abandoning the other. One way to implement this is to require the client process to explicitly request cancellation of the second computation. I see this as similar to manual management of memory, with all the benefits and drawbacks. Another way is to use something similar to garbage collector - the client just forgets about the second computation, and it will be (eventually) cancelled. I like to think about this as a GC because (as with memory GC) there are no semantic guarantees, just a pragmatic one - the infrastructure will have an option to reduce the consumption of resources, but does not guarantee it will use it (e.g., the resources are in abundance - a lot of free physical memory or idle processors). Similar to memory GC, there might be ways for the process to detect the infrastructure's decision - in case of memory by means of finalizer code being called, in case of computation by detecting the effects of the computation. What is not so similar, is the nature of references. In case of memory, clients refer to memory blocks. In case of computations, the direction is reversed - the computation refers to the continuation supplied by the client. That looks like a fatal blow... I vaguely remember reading about something like that in the context of speculative computations, but was unable to find it again. Any ideas where to look? The Glasgow Haskell Compiler Survey - GHC needs your feedback!If you're a GHC user, the Glasgow Haskell Compiler HeadQuarters needs your feedback! See Simon Peyton-Jones original message, or go directly to the user survey. Here's a quote from the original message:
By shapr at 2005-04-15 16:35 | Functional | Implementation | Software Engineering | login or register to post comments | other blogs | 5532 reads
Sam Ruby: Continuations for Curmudgeons
A nice blog post that explains a number of basic PL concepts (value vs. reference, continuations, closures, coroutines) using examples from a bunch of popular languages (C, Javascript, Ruby, Python, BASIC, Java). is EOPL available as an e-book anywhere?I'd like to use some computer based learning tools (one EG is mind mapping) with the book, so I'd prefer to buy the e-book but cannot find any mention of it anywhere. |
Browse archivesActive forum topics |
Recent comments
22 weeks 10 hours ago
22 weeks 13 hours ago
22 weeks 14 hours ago
44 weeks 1 day ago
48 weeks 3 days ago
50 weeks 21 hours ago
50 weeks 21 hours ago
1 year 4 days ago
1 year 5 weeks ago
1 year 5 weeks ago