[M3devel] Enumeration or subrange value out of range

Jay K jay.krell at cornell.edu
Thu Dec 2 10:17:32 CET 2010


The gcc intermediate form does support exception handling.
Efficient exception handling doesn't motivate gcc to llvm switch.
As well, generating C++ is a good option for this reason.
  At least on non-NT/Tru64/VMS systems.
As well, since this is multiple axes, an initial C backend could generate code
like we do today -- pthread_getspecific/setjmp.

Switching to LLVM is a big task.

 - Jay

From: dragisha at m3w.org
Date: Thu, 2 Dec 2010 08:59:35 +0100
To: jay.krell at cornell.edu
CC: m3devel at elegosoft.com
Subject: Re: [M3devel] Enumeration or subrange value out of range



Then obviously you are hitting blind alley there. Go other route.
For example, LLVM route.
On Dec 2, 2010, at 7:53 AM, Jay K wrote:> What is the FFI lingua franca again?  C or C++?

 
 C is fairly lingua franca, but how do I *efficiently* *portably*
 implement exception handling? NT, Tru64, VMS all extend C slightly
 to allow it. I don't believe C on any other system does.


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20101202/ab44f560/attachment-0002.html>


More information about the M3devel mailing list