From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8893269a4640c798 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-24 04:51:56 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail From: Marin David Condic Newsgroups: comp.lang.ada Subject: Re: terminate applications Date: Thu, 24 Jul 2003 07:51:37 -0400 Organization: MindSpring Enterprises Message-ID: <3F1FC849.8070202@noplace.com> References: <3F17DF3C.4080204@noplace.com> <3F196773.2060809@noplace.com> <3F19F86C.9050808@attbi.com> <3F1A772F.9060708@noplace.com> <3F1AD6FB.8080806@attbi.com> <3F1BD666.6040506@noplace.com> <3F1C4DA6.3070405@attbi.com> <3F1D29E8.60107@noplace.com> <3F1D2FDC.1070402@noplace.com> <3F1DC75A.5050300@noplace.com> <87oezm9lar.fsf@inf.enst.fr> <3F1E7E1E.8090302@noplace.com> NNTP-Posting-Host: d1.56.be.d1 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Server-Date: 24 Jul 2003 11:51:55 GMT User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (OEM-HPQ-PRS1C03) X-Accept-Language: en-us, en Xref: archiver1.google.com comp.lang.ada:40760 Date: 2003-07-24T11:51:55+00:00 List-Id: You mean like when the end user types control-C? Or lightning takes out the junction box in your neighborhood and the power goes down? Or, because you're on Windows the OS decides to take an arbitrary dirt nap for no apparent reason? If most OS's provide a given feature, there ought to be a way for an Ada program to utilize that feature in a standard way. Worrying about the fact that some OS provided feature might not fit in with Ada's desired safety and security is what is going to guarantee that programmers are going to do end-runs around Ada to use the C/C++ library that *will* give them the feature - and eventually decide that its too much of a nuisance to be programming in both Ada and C and revert to C. My arguement here is that programmers are going to want and/or need features that come from the operating system - halting a program in mid-breath is just one of them. Not all of those OS features are going to be nice, clean, perfectly safe Ada-ish operations, but so what? You include the caveats "Implementation defined" and "Use at your own risk". You either provide the OS operations in some semi-standard, semi-portable way or the programmer does the end-run around you, or the programmer simply abandons Ada. I'd say the first option was the better one for the futrue of Ada. MDC Randy Brukardt wrote: > > > I would be extremely opposed to any standard "library" functions which > allowed you to end-run finalization. Indeed, I'd be extremely opposed to > *anything* standard that allowed you to end-run finalization. > -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jast.mil/ Send Replies To: m c o n d i c @ a c m . o r g "In general the art of government consists in taking as much money as possible from one class of citizens to give to the other." -- Voltaire ======================================================================