Re: Optimization techniques and runtime checks

Hans-Peter Diettrich <DrDiettrich1@netscape.net>
Wed, 8 May 2019 22:50:10 +0200

          From comp.compilers

Related articles
[2 earlier articles]
Re: Optimization techniques david.brown@hesbynett.no (David Brown) (2019-04-28)
Re: Optimization techniques and runtime checks DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2019-04-29)
Re: Optimization techniques and runtime checks david.brown@hesbynett.no (David Brown) (2019-05-07)
Re: Optimization techniques and runtime checks DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2019-05-08)
Re: Optimization techniques and runtime checks david.brown@hesbynett.no (David Brown) (2019-05-08)
Re: Optimization techniques and runtime checks bc@freeuk.com (Bart) (2019-05-08)
Re: Optimization techniques and runtime checks DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2019-05-08)
Re: Optimization techniques and runtime checks david.brown@hesbynett.no (David Brown) (2019-05-08)
Re: Optimization techniques and runtime checks bc@freeuk.com (Bart) (2019-05-09)
Re: Optimization techniques and runtime checks david.brown@hesbynett.no (David Brown) (2019-05-09)
Re: Optimization techniques and runtime checks robin51@dodo.com.au (Robin Vowels) (2019-05-11)
Re: Optimization techniques and runtime checks genew@telus.net (Gene Wirchenko) (2019-05-11)
Re: Optimization techniques and runtime checks david.brown@hesbynett.no (David Brown) (2019-05-12)
| List of all articles for this month |

From: Hans-Peter Diettrich <DrDiettrich1@netscape.net>
Newsgroups: comp.compilers
Date: Wed, 8 May 2019 22:50:10 +0200
Organization: Compilers Central
References: <72d208c9-169f-155c-5e73-9ca74f78e390@gkc.org.uk> 19-04-021 19-04-023 19-04-037 19-04-046 19-05-052 19-05-059 19-05-064
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="62522"; mail-complaints-to="abuse@iecc.com"
Keywords: design, errors
Posted-Date: 09 May 2019 11:26:22 EDT

Am 08.05.2019 um 10:31 schrieb David Brown:


> And often there is no way to handle run-time errors sensibly anyway.
> You don't want your car brakes to give you a message "Your braking
> system has encountered an integer overflow. Please report this error to
> your car dealer". You want the brake software developers to be
> /absolutely/ sure that overflows can't happen - and then there is no
> point in run-time checks.


Most probably no user will ever have a chance to report above error :-]


I found SEH quite nice for handling errors. In detail with the Java
feature that the compiler can complain about unhandled exceptions.


DoDi



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.