Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!lins From: lins@Apple.COM (Chuck Lins) Newsgroups: comp.lang.modula2 Subject: Re: Exceptions (was Type extension, Oberon) Message-ID: <40148@apple.Apple.COM> Date: 9 Apr 90 17:21:18 GMT References: <9004061748.AA07286@ctc.contel.com> <35384@brunix.UUCP> Organization: Apple Computer Inc, Cupertino, CA Lines: 20 In article <35384@brunix.UUCP> drc@cs.brown.edu (David R. Chase) writes: [well a bunch of stuff deleted, you'll have to read them yourself] Both Dan and David make good points. One alternative that hasn't been mentioned yet is implementing a module for exception handling. Such a module requires a bit of assembly language coding for the implementation but it can (and has) been done. This is how MacApp(R) implements a signaling exception mechanism in a language without exception handling features (Object Pascal). This overhead at run-time is minimal. So you can have an efficient, exception mechanism in a language without exceptions. BTW, the Metrowerks Modula-2 compiler for the Macintosh(TM) provides just such a module. -- Chuck Lins | "Exit left to funway." Apple Computer, Inc. | Internet: lins@apple.com 20525 Mariani Avenue | AppleLink: LINS Mail Stop 41-K | Cupertino, CA 95014 | "Self-proclaimed Object Oberon Evangelist" The intersection of Apple's ideas and my ideas yields the empty set.