"Steven Shaw" <[EMAIL PROTECTED]> wrote:

> 2008/4/24 Steven Shaw <[EMAIL PROTECTED]>:

> What I'm getting at is if CPS transformation and tailcalls were so
> performant for exceptions then why bake exceptions into the CIL and
> into the JVM bytecodes? 

For CLR/CIL: exceptions (SEH) are an OS-level primitive on Windows, and
exception control flow can pass through other languages, including
native code (C++, C, Delphi etc.). If your CIL code is being called via
a callback from native code, you may want to be able to throw an
exception and catch it on the other side. Not highly recommended, of
course.

-- Barry

-- 
http://barrkel.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to