Re: Python from Wise Guy's Viewpoint
From: Pascal Bourguignon (spam_at_thalassa.informatimago.com)
Date: 11/03/03
- Next message: Peter Seibel: "Re: Explanation of macros; Haskell macros"
- Previous message: Joachim Durchholz: "Re: Explanation of macros; Haskell macros"
- In reply to: Erann Gat: "Re: Python from Wise Guy's Viewpoint"
- Next in thread: Joachim Durchholz: "Re: Python from Wise Guy's Viewpoint"
- Reply: Joachim Durchholz: "Re: Python from Wise Guy's Viewpoint"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 03 Nov 2003 19:27:53 +0100
gat@jpl.nasa.gov (Erann Gat) writes:
>
> Ah, but now you've added an additional constraint, namely, that my spec be
> funcallable. Not all formal specifications can be rendered as functions.
> For example, "This program terminates" can be formally rendered, but not
> as a program.
> [...]
> But that only works if the specification is computable. Not all formal
> specifications are computable. I can render any specification
> uncomputable by adding the stipulation that the program must halt (or that
> it must not halt).
Pragmatically, we don't need a "this program terminates" predicate. I
could write any number of programs that would provably terminate in 20
billion years. Too bad the estimated death of the universe is in 15
billion years. What we need is a "this program terminates before x
seconds". And this can perfectly be programmed.
-- __Pascal_Bourguignon__ http://www.informatimago.com/
- Next message: Peter Seibel: "Re: Explanation of macros; Haskell macros"
- Previous message: Joachim Durchholz: "Re: Explanation of macros; Haskell macros"
- In reply to: Erann Gat: "Re: Python from Wise Guy's Viewpoint"
- Next in thread: Joachim Durchholz: "Re: Python from Wise Guy's Viewpoint"
- Reply: Joachim Durchholz: "Re: Python from Wise Guy's Viewpoint"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|