From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: weis Received: (from weis@localhost) by pauillac.inria.fr (8.6.10/8.6.6) id NAA16663 for caml-redistribution; Fri, 27 Sep 1996 13:42:08 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.6.10/8.6.6) with ESMTP id NAA15847 for ; Fri, 27 Sep 1996 13:19:22 +0200 Received: from margaux.inria.fr (margaux.inria.fr [128.93.8.2]) by concorde.inria.fr (8.7.6/8.7.1) with ESMTP id NAA06437 for ; Fri, 27 Sep 1996 13:19:21 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by margaux.inria.fr (8.6.10/8.6.6) with ESMTP id NAA19540 for ; Fri, 27 Sep 1996 13:19:21 +0200 Received: from lasmea.univ-bpclermont.fr (lasmea.univ-bpclermont.fr [193.54.50.15]) by concorde.inria.fr (8.7.6/8.7.1) with ESMTP id NAA06433 for ; Fri, 27 Sep 1996 13:19:20 +0200 (MET DST) Message-Id: <199609271119.NAA06433@concorde.inria.fr> Received: by lasmea.univ-bpclermont.fr (1.37.109.16/16.2) id AA217223291; Fri, 27 Sep 1996 13:21:31 +0200 From: Jocelyn Serot Subject: native code compiler and exceptions To: caml-list@margaux.inria.fr Date: Fri, 27 Sep 1996 13:21:30 METDST X-Mailer: Elm [revision: 109.17] Sender: weis Hello there, I wanted to ask the ocaml implementors the following question: Is there a deep, "fundamental", reason why certain exceptions (in particular those raised by array accesses out of bound) are not handled in same way by the bytecode compiler and the native compiler, or is it a temporary weakness that will be removed in future releases ?.. Here's - in short ;-) - why i am wondering about that: I've written an image processing module in ocaml. Some functions in this module (for example, convolutions, ...) relies heavily on bound-violation exceptions for handling clipping effect at image boundaries. Well, now every- things works fine under the bytecode compiler. But i'd like to take advantage of teh native code compiler to boost all that code a bit... Thanks for any clue Jocelyn -- E-mail: Jocelyn.Serot@lasmea.univ-bpclermont.fr ............................. S-mail: LASMEA - URA 1793 CNRS, Universite Blaise Pascal, 63177 Aubiere cedex Tel: (33) 73.40.73.30 - Fax: (33) 73.40.72.62 ............................... .... http://wwwlasmea.univ-bpclermont.fr/Personnel/Jocelyn.Serot/Welcome.html