User loginNavigation |
CritiquesA Computer-Generated Proof that P=NPDoron Zeilberger announced yesterday that he has proven that P=NP.
The paper is available here and his 98th Opinion is offered as commentary. By Leon P Smith at 2009-04-02 06:54 | Critiques | Fun | Theory | 12 comments | other blogs | 11420 reads
Scaling Type InferenceCoding Horror is a popular programming blog. A recent post concerns type inference in C#:
I think this post is interesting for a number of reasons, and the link to LtU is just the start. Now it appears the author is confused as to what “implicitly typed local variables” are, confusing local type inference (which they are) with dynamic typing (which they are not). Many commenters also suffer from this confusion. Other commenters rightly note that the inferred type is not always the type the programmers wants (particularly important in the presence of sub-typing). Furthermore, type inference harms readability. I'm reminded of recent discussion on the PLT Scheme mailing list on the merits of local and global type inference. The consensus there seems to be that while local type inference is useful, global inference is not. So, wise people, what is the future of type inference? How useful is it really, especially when we look at type systems that go beyond what H-M can handle? How are we going to get working programmers to use it, and understand it? Do we need better tool support? Do we have any hope of better education for the average programmer? program verification: the very ideaJames H. Fetzer's Program Verification: The Very Idea (1988) is one of the two most frequently cited position papers on the subject of program verification. The other one is Social Processes and Proofs by De Millo, Lipton, and Perlis (1979), previously discussed on LtU. Fetzer's paper generated a lot of heated discussion, both in the subsequent issues of CACM and on Usenet. It's not clear to me what all the fuss is about. Fetzer's main thesis seems pretty uncontroversial: The notion of program verification appears to trade upon an equivocation. Algorithms, as logical structures, are appropriate subjects for deductive verification. Programs, as causal models of those structures, are not. The success of program verification as a generally applicable and completely reliable method for guaranteeing program performance is not even a theoretical possibility. April 1st special: The War of the WorldsConrad Barski has posted a sneak peak from his upcoming Lisp textbook/comic: Land of Lisp. The first slides may seem unrelated, but boy does the message sting when you reach the ending... FPers will be quick to note, of course, that this being April Fools' Day the whole thing is a joke and we can all go back to Haskell... By Ehud Lamm at 2008-04-02 00:34 | Critiques | Fun | Functional | 32 comments | other blogs | 13930 reads
Social Processes and Proofs of Theorems and Programs
A paper that was mentioned in the discussion forum,
by Richard A. De Millo, Richard J. Lipton, Alan J. Perlis, 1979.
It is argued that formal verifications of programs, no matter how obtained, will not play the same key role in the development of computer science and software engineering as proofs do in mathematics. Furthermore, the absence of continuity, the inevitability of change, and the complexity of specification of significantly many real progarms make the formal verification process difficult to justify and manage. It is felt that ease of formal verification should not dominate program language deisgn. Good Ideas, Through the Looking GlassNiklaus Wirth. Good Ideas, Through the Looking Glass, IEEE Computer, Jan. 2006, pp. 56-68.
A personal look at some ideas, mostly from the field of programming languages. Some of Wirth's objections are amusing, some infuriating - and some I agree with...
LtU readers will obviously go directly to sections 4 (Programming Language Features) and 6 (Programming Paradigms). Here are a few choice quotes:
LtU readers are also going to "enjoy" what Wirth has to say about functional programming... (Thanks Tristram) Machine Obstructed ProofFrom ICFP '06, the 1st informal Workshop on Mechanizing Metatheory comes Nick Benton's "Machine Obstructed Proof: How many months can it take to verify 30 assembly instructions?". It is a one page paper, but seems deserving of some notice. Nick Benton offers a critique of Coq from the standpoint of an inexperienced user, although I am not sure I would really categorize Benton as "inexperienced". Some interesting quotes:
[On edit: moved to a story from a forum post. Sorry. - TM] Is "post OO" just over?While studying the conference program of the upcoming OOPSLA 2006 I discovered under the category "essay" an author who has quite something critical to say about AOP:
This is not just another internet rant about the latest PL hype but the author, Friedrich Steimann, had done interesting work about AOP before. In particular his latest paper about typed AOP: AOP and the antinomy of the liar but also his award winning former critical AOP review: By Kay Schluehr at 2006-09-24 10:50 | Critiques | Meta-Programming | OOP | Paradigms | 22 comments | other blogs | 7242 reads
Haskell vs. Erlang, Reloaded
Erlang and Haskell compared... Want to know the conclusion?
I am sure you'll find a lot to disagree with in this article... By Ehud Lamm at 2006-01-23 17:46 | Critiques | Functional | Parallel/Distributed | 15 comments | other blogs | 24212 reads
Tim Bray on RubyHow I got here was, two recent pieces of writing that made me think heavily were Ruby-centric: Mikael Brockman’s Continuations on the Web and Sam Ruby’s Rails Confidence Builder... So I went and bought Programming Ruby ('Pickaxe' in the same sense that Programming Perl is the 'Camel book') The conclusion of this piece is that Ruby looks like more than a fad, so LtU readers who still haven't checked it out might want to do so... Where are the other editors, I wonder? |
Browse archivesActive forum topics |