Path: csiph.com!usenet.pasdenom.info!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!backlog3.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED!nerds-end From: Ivan Godard Newsgroups: comp.compilers Subject: Re: catch and throw, was Is multi-level function return possible? Date: Fri, 28 Mar 2014 18:24:25 -0700 Organization: A noiseless patient Spider Lines: 13 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <14-03-077@comp.compilers> References: <14-03-065@comp.compilers> <14-03-068@comp.compilers> <14-03-070@comp.compilers> <14-03-076@comp.compilers> NNTP-Posting-Host: news.iecc.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: miucha.iecc.com 1396057587 2142 2001:470:1f07:1126:0:676f:7373:6970 (29 Mar 2014 01:46:27 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Sat, 29 Mar 2014 01:46:27 +0000 (UTC) Keywords: errors, architecture, history Posted-Date: 28 Mar 2014 21:46:26 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com X-Original-Bytes: 1741 X-Received-Bytes: 1845 X-Received-Body-CRC: 1545515883 Xref: csiph.com comp.compilers:1199 On 3/28/2014 4:08 PM, mac wrote: > Not quite the same. ON defined a handler invoked at the signal site. It > could attempt repair and return. more like an interrupt. However, the > typical handler did a non-local GOTO to bail out, clearing any calls > between the signal and the gone-to label. > > I still think that the ability to resume can be useful. Useful or no, the ability to resume requires retaining the illusion of sequential execution. You have no idea how expensive, in power and performance, that illusion is. And it's flat-out impossible on wide issue machine such as VLIWs.