[e-lang] Consequences of transactional E?

Kevin Reid kpreid at mac.com
Tue Jan 30 07:21:56 CST 2007


On Jan 30, 2007, at 1:13, David Hopwood wrote:

> Patience, patience :-) I've not made the proposal yet. There is an  
> answer to your questions about escapes (they should be reduced in  
> power, so that they don't cause the same problems as exceptions).

I will wait for the proposal.

> Kevin Reid wrote:
>>    - Allow only Selfless objects to be carried by nonlocal exits.
>
> That is the solution I had intended.
>
>> I believe this is too restrictive, as otherwise exception objects
>> cannot carry information useful for debugging without expensive
>> printing at throw time, when it is not known if the information will
>> ever be looked at.
>
> I don't think this is too restrictive, or too inefficient. Exceptions
> are rare; the cost of printing debugging information is not  
> significant.

Besides the resource cost, it also prevents this kind of feature:

http://www.eros-os.org/pipermail/e-lang/2007-January/011809.html

-- 
Kevin Reid                            <http://homepage.mac.com/kpreid/>




More information about the e-lang mailing list