User loginNavigation |
GeneralScheme to be split into two languagesAccording to a draft statement, Scheme is to be split into a small and a large language, the small being designed for educators and "50-page purists", the large for "programmers, implementors". The small language should remain true to the language design precepts found in the RnRS introduction ("Programming languages should be designed not by piling feature on top of feature, …"). But what about the large one? Will it drop continuations, become a Lisp-2, and challenge Common Lisp? Certiï¬ed Web Services in YnotCertiï¬ed Web Services in Ynot
Ynot, always ambitious, takes another serious swing: extracting a real web application from a proof development. In some respects the big news here is the additional coverage that Ynot now offers in terms of support for file and socket I/O, and the event trace mechanism. But there's even bigger news, IMHO, which is the subject of another paper that warrants a separate post. By Paul Snively at 2009-08-06 16:46 | DSL | Functional | General | Implementation | Software Engineering | Type Theory | 2 comments | other blogs | 7632 reads
Programming Made "Simple"The Simple programming language is a BASIC dialect for the Android platform highly influenced by Microsofts's pre-dot-NET Visual Basic.
By James Iry at 2009-08-03 16:36 | General | Teaching & Learning | 3 comments | other blogs | 7921 reads
Green: A System for Supporting Energy-Conscious Programming using Principled Approximation
Green: A System for Supporting Energy-Conscious Programming using Principled Approximation. Woongki Baek and Trishul Chilimbi. MSR-TR-2009-89
Energy-efficient computing is important in several systems ranging from embedded devices to large scale data centers. Several application domains offer the opportunity to tradeoff quality of service/solution (QoS) for improvements in performance and reduction in energy consumption. Programmers sometimes take advantage of such opportunities, albeit in an ad-hoc manner and often without providing any QoS guarantees. We propose a system called Green that provides a simple and flexible framework that allows programmers to take advantage of such approximation opportunities in a systematic manner while providing statistical QoS guarantees. Green enables programmers to approximate expensive functions and loops and operates in two phases. In the calibration phase, it builds a model of the QoS loss produced by the approximation. This model is used in the operational phase to make approximation decisions based on the QoS constraints specified by the programmer. The operational phase also includes an adaptation function that occasionally monitors the runtime behavior and changes the approximation decisions and QoS model to provide strong QoS guarantees. The basic approach is not specific to energy considerations, and is basically based on placing approximation code based on profiling data. Energy is measured by sampling current and voltage from the main power cable. It is nice to see programming language ideas being put to use to help protect the environment... The system was implemented using the Phoenix compiler framework. Evaluation and Usability of Programming Languages and Tools (PLATEAU)Found via Wadler's blog: PLATEAU is calling for papers on the HCI side of PL theory, design, and tooling.
Concepts Get Voted Off The C++0x IslandOn Monday, July 13th the C++ standards committee voted "Concepts" out of consideration for C++0x.
Edit: For more on the meeting see "The View (or trip report) from the July 2009 C++ Standard Meeting" part 1 and part 2 Edit 2: Bjarne Stroustrup on The C++0x "Remove Concepts" Decision. By James Iry at 2009-07-20 15:33 | General | OOP | Type Theory | 37 comments | other blogs | 37803 reads
RepRap: the self-replicating machinethe RepRap is a self-replicating machine (3D printer) created by Adrian Bowyer.
There are RepRap machines around the world these days. LtU readers are invited to report their experiences! Open Source for Hardware?a recent opencores.com article by Jeremy Bennett.
Hardware is software, and open-source hardware looks like a red-hot area these days. Do we have any open-source hardware developers lurking on LtU? If so please say hello. :-) Mental animation: Inferring motion from static diagrams of mechanical systems.
Hegarty, M. (1992). Mental animation: Inferring motion from static diagrams of mechanical systems. Journal of Experimental Psychology: Learning, Memory and Cognition, 18(5) 1084-1102
Reaction-time and eye-fixation data are analyzed to investigate how people infer the kinematics of simple mechanical systems (pulley systems) from diagrams showing their static configuration. It is proposed that this mental animation process involves decomposing the representation of a pulley system into smaller units corresponding to the machine components and animating these components in a sequence corresponding to the causal sequence of events in the machine's operation. Although it is possible for people to make inferences against the chain of causality in the machine, these inferences are more difficult, and people have a preference for inferences in the direction of causality. The mental animation process reflects both capacity limitations and limitations of mechanical knowledge. Following the theme of yesterday's post this is another non-PL research paper that explores cognitive factors that might be relevant to programming language design. The research in the paper nicely illustrates how different accounts of the cognitive processes involved in reasoning about the behavior of a mechanical system or model can be compared experimentally. The results suggest the types of inferences that are involved in mental animation of the type requested from the subjects, and how they are orchestrated. The first section of the paper provides the general framework, and explains the notion of mental animation. A discussion of the generality of the results can be found at the end of the paper. Those who find my last two posts too far removed from PL issues need not worry; I am not going to post more research of this type soon. Those who are intrigued by this research will be happy to know that a lot more is available where this came from. Why a diagram is (sometimes) worth ten thousand words
Jill Larkin and Herbert Simon, Why a diagram is (sometimes) worth ten thousand words. Cognitive Science, 1987.
The advantages of diagrams, in our view, are computational. That is diagrams can be better representations not because they contain more information, but because the indexing of this information can support extremely useful and efficient computational processes. But this means that diagrams are useful only to those who know the appropriate computational processes for taking advantage of them. Furthermore, a problem solver often also needs the knowledge of how to construct a "good" diagram that lets him take advantage of the virtues we have discussed. In short, the ideas we have presented, not only provide an explanation of why diagrams can be so useful, but also provide a framework for further study of the knowledge required for effective diagram use. While this paper is not about programming languages, it describes research that may be relevant to the discussion of visual programming languages versus textual languages as well as other language design decisions. Seeing as human factors were recently mentioned, and that it seems to be cognitive-week here on LtU, I thought this paper might be of interest. While I am sure this paper can be discussed from many angles, I'll only mention two. 1. While this paper is old, I still find it remarkable how old fashioned it seems. I am not sure exactly what causes it to feel this way; probably something in the writing style. 2. While I haven't searched the literature, I don't recall seeing research on programming languages that uses the framework suggested by this paper even though Simon's work was, of course, well known to computer scientists in general, and PL researchers in particular. |
Browse archives
Active forum topics |
Recent comments
13 hours 26 min ago
1 day 10 hours ago
2 days 15 hours ago
2 days 15 hours ago
1 week 16 hours ago
1 week 16 hours ago
1 week 16 hours ago
4 weeks 1 day ago
4 weeks 6 days ago
4 weeks 6 days ago