From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE autolearn=disabled version=3.1.3 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 6E36BBC6B for ; Wed, 12 Dec 2007 23:31:55 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAALrvX0eAkthRi2dsb2JhbACBWo4TAQEBCAQGDxo X-IronPort-AV: E=Sophos;i="4.24,158,1196636400"; d="scan'208";a="6749940" Received: from defang1.it.ohio-state.edu ([128.146.216.81]) by mail3-smtp-sop.national.inria.fr with ESMTP; 12 Dec 2007 23:31:54 +0100 Received: from defang9.it.ohio-state.edu (defang9.it.ohio-state.edu [128.146.216.78]) by defang1.it.ohio-state.edu (8.13.7/8.13.1) with ESMTP id lBCMVqNg003056 for ; Wed, 12 Dec 2007 17:31:52 -0500 Received: from osu.edu (mail-store2.service.ohio-state.edu [128.146.216.32]) by defang9.it.ohio-state.edu (8.13.7/8.13.1) with ESMTP id lBCMVqqd014258 for ; Wed, 12 Dec 2007 17:31:52 -0500 Received: from [128.146.216.20] by mail2.service.ohio-state.edu (mshttpd); Wed, 12 Dec 2007 17:31:52 -0500 From: JAN OBER To: caml-list@yquem.inria.fr Message-ID: <11708011a623.11a623117080@osu.edu> Date: Wed, 12 Dec 2007 17:31:52 -0500 X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.14 (built Mar 18 2003) MIME-Version: 1.0 Content-Language: en Subject: OCaml as an application scripting language (like Guile)? X-Accept-Language: en Priority: normal Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit X-CanItPRO-Stream: outbound X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.146.216.81 X-Spam: no; 0.00; ocaml:01 ocaml:01 bytecode:01 compiler:01 bytecode:01 compiler:01 runtime:01 runtime:01 cheers:01 ideally:01 seems:03 overhead:04 i'd:06 thread:06 osu:07 Hi, I'm thinking of getting OCaml integrated as a scripting language into a C++ application. I had a hard time finding how one would go about getting the bytecode compiler and bytecode interpreter integrated in a library-like fashion. Of course I could have the compiler and runtime invoked from within the C++ application, and have an IPC with a "server" thread within the application. But this seems to add too much overhead (both at runtime, and in general code messiness). Ideally, I'd like Guile that digs OCaml ;) Cheers, Kuba