From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA16777; Sat, 15 Nov 2003 16:26:00 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA16894 for ; Sat, 15 Nov 2003 16:25:59 +0100 (MET) Received: from cmailg3.svr.pol.co.uk (cmailg3.svr.pol.co.uk [195.92.195.173]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hAFFPw103137 for ; Sat, 15 Nov 2003 16:25:58 +0100 (MET) Received: from modem-681.alakazam.dialup.pol.co.uk ([217.135.13.169]) by cmailg3.svr.pol.co.uk with esmtp (Exim 4.14) id 1AL2JB-0002tf-OW for caml-list@inria.fr; Sat, 15 Nov 2003 15:25:58 +0000 Date: Sat, 15 Nov 2003 15:25:55 +0000 (GMT) From: John J Lee X-X-Sender: john@alice To: caml-list@inria.fr Subject: Re: [Caml-list] Executable size? In-Reply-To: <1068900526.25869.77.camel@pelican> Message-ID: References: <20031112173335.GA32347@redhat.com> <1068900526.25869.77.camel@pelican> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 runtime:01 runtime:01 python:01 istr:01 mingw:01 garbage:01 msvc:01 msvc:01 nov:01 trivial:01 collector:02 pointer:03 executable:03 wrote:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sat, 15 Nov 2003, skaller wrote: > On Thu, 2003-11-13 at 05:21, John J Lee wrote: [...] > > Probably this is a naive question, but: Is it impractical to have a > > functional language that uses the C runtime? > > Felix does that. Its own runtime is tiny > (it has a naive exact garbage collector .. only a page of > source code or two). Thanks for the pointer. I'd looked at it before and thought it looked interesting (somebody mentioned it in a comp.lang.python post). [...] > > Am I really stuck with C++?? > > Felix generates simple ISO C++, so the output is portable. > > The foreign function interface .. well .. example: [...] > MS_COM support you'll have to add yourself. > Should be trivial using the above kind of mechanism. For you, I'm sure. I'm afraid might make heavy weather of it even so :-( I've only used COM (when using C++, that is) from MSVC++, and ISTR that people have said that, for example, using COM from mingw is not easy unless you know a lot about it (I'm not talking about the language extensions in MSVC++ -- at least, I don't *think* I am -- but I don't know what the issues are that cause the alleged problems). John ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners