Re: use of setjmp/longjmp in x86 emulator.

From: H. Peter Anvin
Date: Mon Mar 01 2010 - 18:44:19 EST

On 03/01/2010 03:34 PM, Zachary Amsden wrote:
> But I'd rather implement a new language where acquisition of resources
> such as locks, dynamically allocated objects, and ref counts are
> predicated in the function typing and are heavily encouraged to possess
> defined inverses. Then the closure of a particular layer of nesting
> already has enough information to provide release upon escape, and the
> compiler can easily take the burden of checking for a large class of
> lock and resource violation.
> And it would have to be prettier than the current languages that do
> that, meaning operator overloading would be banned. Although it would
> define rational numbers, super-extended precision arithmetic, imaginary
> numbers, quaternions and matrices as part of the spec, so there would be
> no need to use arithmetic overrides anyway, and then all the nonsensical
> operators could die, die, die, especially the function () and logical
> operator overrides.

/me takes away Zach's caffeine.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at