Spec#, nullables and more

"Jérôme M. Berger" jeberger at free.fr
Sat Nov 6 13:52:22 PDT 2010


FeepingCreature wrote:
> Walter Bright Wrote:
>> All that does is reinvent the null pointer seg fault. The hardware does this for 
>> you for free.
> 
> Walter, I know you're a Windows programmer but this cannot be the first time somebody has told you this - YOU CANNOT RECOVER FROM SEG FAULTS UNDER LINUX.
> 
> Access violations are not a cross-platform substitute for exceptions.

	I really, really hope that you can't recover from seg faults on
Windows (or MacOS for that matter). Segmentation faults should be
non recoverable: once the program has started accessing memory that
it shouldn't, there is no way to guarantee that the program is in a
coherent state. Walter has stated this several times and I agree
with him 100% on this.

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20101106/4dad5688/attachment.pgp>


More information about the Digitalmars-d mailing list