From fdb16970dc4f4b68db2a5ae08c38b30b168577f2 Mon Sep 17 00:00:00 2001 From: bmeyer Date: Tue, 4 Aug 2009 18:07:01 +0000 Subject: [PATCH] Author:bmeyer Date:2009-08-04T17:01:43.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@275 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- ...el-removes-null-pointer-dereferencing.wiki | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/documentation/current/papers/void-safety-how-eiffel-removes-null-pointer-dereferencing.wiki b/documentation/current/papers/void-safety-how-eiffel-removes-null-pointer-dereferencing.wiki index 5d26ebb4..3235b0a5 100644 --- a/documentation/current/papers/void-safety-how-eiffel-removes-null-pointer-dereferencing.wiki +++ b/documentation/current/papers/void-safety-how-eiffel-removes-null-pointer-dereferencing.wiki @@ -1,6 +1,28 @@ -[[Property:title|Void safety]] +[[Property:title|Void safety: how Eiffel removes void references]] [[Property:link_title|Void-safety: how Eiffel removes null-pointer dereferencing]] [[Property:weight|0]] [[Property:uuid|d9380464-4312-b76e-9bfd-e57df0f59b4a]] -Here is the paper. +This white paper (see link below) presents the Eiffel void safety mechanism, fully implemented in EiffelStudio 6.4. + +In almost every program running today there is a ticking time bomb: the risk of a "void call". A void call is possible in programs written in almost any programming language; its effect is usually to crash the program. Many unexplained program crashes and other abnormal behaviors result from void calls. While extensive testing can decrease the likelihood of a void call, it cannot remove the possibility. The solution has to com from the programming language. + +Professor C.A.R. Hoare from Microsoft Research, winner of the Turing Award and the Kyoto Prize, calls the presence of void calls in modern programming languages the "billion-dollar mistake": + + + +(Citation at: http://qconlondon.com/london-2009/presentation/Null+References:+The+Billion+Dollar+Mistake.) + + +The Eiffel solution relies on a combination of language mechanisms: + + + +The White Paper describes the theoretical and practical challenges of ensuring void safety and presents the Eiffel mechanism.