Path: news.cs.au.dk!news.net.uni-c.dk!newsfeed1.uni2.dk!news.algonet.se!algonet!newsfeed.wirehub.nl!skynet.be!poster!not-for-mail From: Atle Newsgroups: comp.lang.beta Subject: Re: Static vs. dynamic exceptions Date: Tue, 20 Jun 2000 17:02:54 -0100 Organization: Belgacom Skynet SA/NV Lines: 30 Message-ID: <394FB1CE.F9E6A96D@skynet.be> References: <20000619173848.8485.qmail@noatun.mjolner.dk> <8im02p$8s5j$1@xinwen.cs.au.dk> <8infta$9jn7$1@xinwen.cs.au.dk> <394F9765.21D28D31@skynet.be> NNTP-Posting-Host: dialup268.charleroi.skynet.be Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news1.skynet.be 961513101 20424 194.78.236.140 (20 Jun 2000 14:58:21 GMT) X-Complaints-To: abuse@skynet.be NNTP-Posting-Date: 20 Jun 2000 14:58:21 GMT X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i686) X-Accept-Language: en Xref: news.cs.au.dk comp.lang.beta:12463 Peter von der Ahé wrote: > > >>>>> "A" == Atle writes: > > A> Peter von der Ahé wrote: > >> Lets say that we have the well known exception pattern and a try > >> pattern. Normally when an uncaught/unbound static exception > >> occurs we end up with a runtime error. (In my experience most of > >> the errors in the Mjolner tools are unbound exceptions.) > > A> The easiest would be to do it in C, and call it as a C-routine. > > Do what in C? Managing control flow - setting up interrupt (exception handlers), implemented somewhat like interrupt time/task time processes in a device driver .... .... but I can't be caught up in a discussion of this, because 1) I don't know Beta 2) I don't have the right arguments, since i haven't read the fundamental litterature. Maybe someone else will pick up the thread :-) It may be a matter of taste, though, as it has been argued. As for time-critical systems, it would take me a long time to dare implement that with anything other than C/assembler. I am not at all sure Beta was intended to provide the services necessary - wouldn't this rather depend on the underlying operating system? Atle