User loginNavigation |
LtU ForumC++ has indeed become too "expert friendly"Once upon a time we might have leavened the LtU fare with lighter articles like this The Problem with Programming, Bjarne Stroustrup interview Now I see that stuff on programming.reddit.com New Object Model DemoHello Everyone, I have not had much time to work on it, so it currently only has some debug behavioral print-outs, but if anyone's interested, I could clean up the code into a portable library, and perhaps document it a bit more. Feedback is appreciated, Note: This is an update from this earlier post. Request for feedback: hobbyist post on "the significance of the meta-circular interpreter."Hello Lambdans: Under the influence of tryptophan, I published a blog post giving a hobbyist's perspective on The Significance of the Meta-Circular Interpreter. My blog's audience are mainly comprised of other hobbyists and professional programmers who dream of escape from their BigCo humdrum. As you would expect, the post lacks academic rigour and some feedback on factual errors would improve it greatly. One early version conflated self-hosting, self-interpreting, and meta-circular evaluation. Thanks to an early comment, I was able to revise the content. What are your thoughts on the significance of languages that contain a meta-circular evaluator, a self-interpreter, or that are self-hosting? How could this post be improved (either from the perspective of accuracy or of advocacy?) A Complete, Co-Inductive Syntactic Theory of Sequential Control and State.A teaser from POPL'07: A Complete, Co-Inductive Syntactic Theory of Sequential Control and State by Støvring and Lassen.
Proofs that do things
Learning category theory and formal logic by writing proofs in Haskell. Cool. :-D Peyton-Jones and Harris discuss STM (1h video)from channel9.msdn.com:
Programming Language Research Search EngineI've built a search engine dedicated to searching sites about programming languages (with an emphasis on theory) using the Google co-op services. You can find the search engine at: http://www.cdiggins.com/search/ Now you don't have to append your Google searches with extra superflous terms like "fish language" or "cat language" or "mixin types", you can just type in "fish", "cat" or "mixin". There is still a fair amount of work to be done to fine-tune it, and increase the number of sites it searches. Let me know though if you can think of ways it can be improved. Sunday November 26th - Lisp/Scheme Presentation in DC"Lisp is the Red Pill" by Conrad Barski, M.D. (Title taken from John Fraser's c.l.l. post of long ago) at Ebenezer's Coffee House (They have this awesome conference/party room in the basement...). An attempt will be made to introduce people to Lisp and to give them a flavor of the crown jewels of Lisp/Scheme: closures, true macros, continuations, etc. We will create a small video game and use examples from my Lisp Comic Book Casting SPELs in Lisp! Then, I'll give a sneak peek at my followup comic book- A web-based game that illustrates the essence of Scheme continuations! Also, Beer and Pizza at a nearby deep dish pizzeria after the presentation :) http://www.lisperati.com/fringedc.html Thanks! -- By drcode at 2006-11-22 00:13 | LtU Forum | login or register to post comments | other blogs | 5601 reads
Higher order insertion sort - HELP PLZhi, can someone help me out, i need the code for below 2 functions: Question)Implement the higher order insertion sort algorithm hoInsertSort which -- Higher order insertion sort -- The function hoInsertionSort sorts a list hoInsertionSort :: Ord b => (a -> b) -> [a] -> [a] OOP language extensionHere is a simple idea intended to plug a few semantic holes in the imperative programming style. The idea is to provide a full proof way to handle mutable state in imperative programs. Basically we want to introduce a class called an ASTB or applicative state transition block. The definition is simple. We will need four data structures: a read only state, and a write only temporary state a structure to hold the input and one for the output. There seem to be six external methods: a driver that provides an input and starts the computation of the new state, and returns the output on completion. A constructor and a destructor, and a method to read the state and output at any time. We need one more external method to initialize the state. This is a little more tricky so we will provide some sort of security, and only allow update when a transition is not in progress (some sort of mutex lock). Internally the object does the following: when an input is supplied a series of functions compute new state values and output values and puts them in the temporary state data structure, and the output data structure. Internally there is a method that has permission to transfer the temporary state to the state when the output is returned. That seems to be enough to do the job, although we might also want a temporary output, and an output, and transfer that on completion with a lock. This wouldn't be needed if we output through the driver return value. There is certainly nothing new about this and we suspect that there are patterns for doing this. The point is that we want to make the case that there are sound ways to handle state, get comments, and perhaps encourage a little more attention to these issues. |
Browse archives
Active forum topics |
Recent comments
8 weeks 3 days ago
8 weeks 3 days ago
8 weeks 4 days ago
8 weeks 4 days ago
9 weeks 1 day ago
9 weeks 1 day ago
9 weeks 2 days ago
9 weeks 2 days ago
9 weeks 2 days ago
9 weeks 2 days ago