Title of article :
A semantics for imprecise exceptions
Author/Authors :
Jones، Simon Peyton نويسنده , , Reid، Alastair نويسنده , , Hoare، Tony نويسنده , , Marlow، Simon نويسنده , , Henderson، Fergus نويسنده ,
Issue Information :
روزنامه با شماره پیاپی سال 1999
Pages :
-24
From page :
25
To page :
0
Abstract :
Some modern superscalar microprocessors provide only imprecise exceptions. That is, they do not guarantee to report the same exception that would be encountered by a straightforward sequential execution of the program. In exchange, they offer increased performance or decreased chip area (which amount to much the same thing). This performance/precision tradeoff has not so far been much explored at the programming language level. In this paper we propose a design for imprecise exceptions in the lazy functional programming language Haskell. We discuss several designs, and conclude that imprecision is essential if the language is still to enjoy its current rich algebra of transformations. We sketch a precise semantics for the language extended with exceptions. The paper shows how to extend Haskell with exceptions without crippling the language or its compilers. We do not yet have enough experience of using the new mechanism to know whether it strikes an appropriate balance between expressiveness and performance.
Keywords :
statistical models , Machine learning , Abstract machines , code cumpaction , code compression , compiler intermediate languages and representations , Decision trees , Data compression , virtual machines
Journal title :
A C M Sigplan (Programming Languages) Sigplan Notices
Serial Year :
1999
Journal title :
A C M Sigplan (Programming Languages) Sigplan Notices
Record number :
16956
Link To Document :
بازگشت