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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id EB74CBC59 for ; Thu, 16 Sep 2010 00:17:00 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al0BADPjkEzAbHMMmWdsb2JhbACDG55YFQEBAQEBCAsKBxEitQCSOIRNdASNKg X-IronPort-AV: E=Sophos;i="4.56,373,1280700000"; d="vcf'?scan'208";a="57337940" Received: from coliposte.enst-bretagne.fr ([192.108.115.12]) by mail3-smtp-sop.national.inria.fr with ESMTP; 16 Sep 2010 00:17:00 +0200 Received: from localhost (localhost.localdomain [127.0.0.1]) by coliposte.enst-bretagne.fr (8.13.7/8.13.7/2009.11.10) with ESMTP id o8FMGx3v012610; Thu, 16 Sep 2010 00:16:59 +0200 Received: from courrier.enst-bretagne.fr (smtps.enst-bretagne.fr [10.29.90.4]) by coliposte.enst-bretagne.fr (8.13.7/8.13.7/2009.11.10) with ESMTP id o8FMGsOg012600; Thu, 16 Sep 2010 00:16:58 +0200 Received: from [192.168.0.26] (passerelle-interne.enst-bretagne.fr [192.108.117.210]) (user=vgripon mech=PLAIN bits=0) by courrier.enst-bretagne.fr (8.13.8/8.13.8/2010.02.22) with ESMTP id o8FMGiEq009108; Thu, 16 Sep 2010 00:16:49 +0200 Message-ID: <4C9145CC.4010809@telecom-bretagne.eu> Date: Thu, 16 Sep 2010 00:16:44 +0200 From: Vincent Gripon User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10pre) Gecko/20100910 Shredder/3.1.4pre MIME-Version: 1.0 To: Basile Starynkevitch Cc: David MENTRE , caml-list@yquem.inria.fr Subject: Re: [Caml-list] Compiling Ocaml sources to c sources References: <4C8F660B.4060901@telecom-bretagne.eu> <4C90C7AF.2010902@telecom-bretagne.eu> <20100915215948.9ad55a04.basile@starynkevitch.net> In-Reply-To: <20100915215948.9ad55a04.basile@starynkevitch.net> Content-Type: multipart/mixed; boundary="------------020403090307080607040805" X-Virus-Scanned: amavisd-new at enst-bretagne.fr X-Spam: no; 0.00; ocaml:01 ocaml:01 ocamlc:01 ocamlopt:01 gcc:01 compiler:01 cheers:01 compile:01 compile:01 compiles:01 caml-list:01 compiling:02 compiling:02 functional:02 classical:03 X-Attachments: cset="utf-8" name="vincent_gripon.vcf" name="vincent_gripon.vcf" This is a multi-part message in MIME format. --------------020403090307080607040805 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > But my ocamljitrun.c still needs your ocaml sources to be compiled by > ocamlc. And you could use ocaml instead. It appears to us simpler (but maybe it is not?) to compile and provide the ocamljit implementation than the ocaml classical interpreter. > And ocamlopt compiles source code quite quickly in practice (faster > that gcc is handling source code compiled with -O2). I was more concerned about the time to compile the compiler than the time for it to compile our sources. > Did you ask the contest organizer if ocaml is a valid language? It is hard to find this information on the website but only four languages are allowed: C/C++/C# and java. We emailed the organizers explaining that functional languages should also be proposed in the contest, and asked them whether it would be accepted to provide them with a C source code likely hard to read but compiling with minimal prerequisites and executing our program. As long as we accept to provide them with the original source code if they ask it, they find no objection to it. Hopefully if we manage to reach a high rank they will consider adding OCaml for next year contest ;) Cheers, Vincent. --------------020403090307080607040805 Content-Type: text/x-vcard; charset=utf-8; name="vincent_gripon.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="vincent_gripon.vcf" begin:vcard fn:Vincent Gripon n:Gripon;Vincent org:Telecom Bretagne;Computer Science and Telecommunications adr:;;Telecom Bretagne - Technopole Brest Iroise;Brest Cedex 3;;29238;France email;internet:vincent.gripon@ens-cachan.org title:PhD Student tel;work:+0033 2 29 00 1586 url:http://perso.eleves.bretagne.ens-cachan.fr/~gripon version:2.1 end:vcard --------------020403090307080607040805--