From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 54D10BBAF for ; Sun, 5 Dec 2010 17:57:21 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AroAAL5S+0zRVaE0k2dsb2JhbACjKAgVAQEBAQkJCgkRBB6jQIlpghmEDS6IVgEBAwWCD4M1BIl9hGw X-IronPort-AV: E=Sophos;i="4.59,302,1288566000"; d="scan'208";a="91558246" Received: from mail-fx0-f52.google.com ([209.85.161.52]) by mail1-smtp-roc.national.inria.fr with ESMTP; 05 Dec 2010 17:57:21 +0100 Received: by fxm5 with SMTP id 5so8993476fxm.39 for ; Sun, 05 Dec 2010 08:57:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=MdzvRBzdqA/alLvTia+YjQR0xOR+6hnp5tdykiW/HXM=; b=DpAU1ufoHh04ZT6jUKbISH7ZIEcFB5D8VQSO4X2k8p3TDZiBmKytWvF13XYLz9J27u UMKIjHOWipq4N1V8kcr/zeDg4d/oZovoADOpM1VfX40OxMTzaambruyF0tw0rp7cuZJD S29xXsj+rvDCoDW08SVFC/ahYNvfCnzPuJz+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=o1shd+fTblbem24RAK7gmMoKtbv+Hy6aifU7m9sJTbdk4UtU0JqBKZZZKiTjjB9T8X Kgpwy/+Z77cDwdYT5seX4OEZXTAhAgAOvGt9pUWh5cM21suB+l2btvwGephn73BTe/6h wpVLNBpzhbL1U8fuBqCofwto/fF/c99wXxOWo= Received: by 10.223.87.6 with SMTP id u6mr4524361fal.84.1291568238955; Sun, 05 Dec 2010 08:57:18 -0800 (PST) Received: from deb0 ([79.114.31.79]) by mx.google.com with ESMTPS id z25sm1237665fam.42.2010.12.05.08.57.17 (version=SSLv3 cipher=RC4-MD5); Sun, 05 Dec 2010 08:57:18 -0800 (PST) Date: Sun, 5 Dec 2010 18:57:11 +0200 From: =?UTF-8?B?VMO2csO2aw==?= Edwin To: Benedikt Meurer Cc: caml-list@yquem.inria.fr Subject: Re: ocamlopt LLVM support (Was: [Caml-list] OCamlJIT2 vs. OCamlJIT) Message-ID: <20101205185711.0a0e485a@deb0> In-Reply-To: References: <3DCEA910-1382-47E5-876B-059178F8F82E@googlemail.com> <20101130124803.7952fca1@deb0> <0a8b01cb90da$da5e6240$8f1b26c0$@com> <5E2DA3F1-7998-4F62-B617-7B6451D1001D@googlemail.com> <0b3b01cb9161$a81c8e10$f855aa30$@com> <0b9301cb91a3$8f42fd60$adc8f820$@com> <0cae01cb9325$a8ddc3d0$fa994b70$@com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; ocamlopt:01 ocaml:01 model:01 model:01 ocaml's:01 ocaml's:01 edwin:98 wrote:01 exception:01 exception:01 caml-list:01 benedikt:03 benedikt:03 dec:05 implement:06 On Sun, 5 Dec 2010 17:37:32 +0100 Benedikt Meurer wrote: > Two main areas for now: The GC interface and the exception handling. > LLVM's exception support is really limited; the GC support is better > and more generic. I don't know how to implement the OCaml exception > model within LLVM w/o adding a lot of special case stuff to LLVM > itself (mentioned in my original post); if there would be a way to > easily extend LLVM with special exception models, other projects > could plug in their models. There is a discussion on the LLVM mailing list about changing exception handling in LLVM: http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-December/036692.html If the new model is not generic enough to support OCaml's model, then I think now would be a good time to describe on the LLVM ML what OCaml's model would need and the proposal doesn't cover. Best regards, --Edwin