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=1.7 required=5.0 tests=AWL,DNS_FROM_RFC_POST, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id A9AABBBAF for ; Wed, 6 Aug 2008 22:09:47 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsgBAEehmUhA6bjjlGdsb2JhbACQfj4BAQEBCQMKBxEDlimFeQ X-IronPort-AV: E=Sophos;i="4.31,316,1215381600"; d="scan'208";a="13769675" Received: from wr-out-0506.google.com ([64.233.184.227]) by mail2-smtp-roc.national.inria.fr with ESMTP; 06 Aug 2008 22:09:47 +0200 Received: by wr-out-0506.google.com with SMTP id c55so79187wra.11 for ; Wed, 06 Aug 2008 13:09:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:cc:references:in-reply-to:content-type :content-transfer-encoding:content-disposition:message-id; bh=sdekcKD/t2lJO6WNu1xziD3koJtixlntWlrxpSrjRL8=; b=I7U7Huy8U2s2N5g/pns7j6f1j7ErzQXQyx73eTIMqvntHG4Qro7Xaq05RqwAYxJpxg UZNDE5CBmC0zCU+yJxBf/fAZ6w4ORSkrkbfiwiZNlV1EH0WrSKw9zgdXdVHrDlFFRq53 7NmbtnSoATQrodGh8XKkguk6YyAX3IigkeUKw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:cc:references:in-reply-to :content-type:content-transfer-encoding:content-disposition :message-id; b=Hxpk3s19Pc6xKlb5U/ueofXeR5oSN3CgE3+W843gYC5AvDLLeqjX2Nbb0Ns4fbh0QE vO9aBvi+Fa4yV6jCpTmUdf3s3erysEFt+AZy0+F+Fr69iOy8MxdXcNomsHl7Mx4yFIBb K/flkwcKV0Vis42cbFJgmezS+LBZd3RP/EoVg= Received: by 10.90.96.15 with SMTP id t15mr3652953agb.116.1218053386052; Wed, 06 Aug 2008 13:09:46 -0700 (PDT) Received: from ?192.168.0.102? ( [24.99.180.210]) by mx.google.com with ESMTPS id 39sm9944946hse.15.2008.08.06.13.09.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 06 Aug 2008 13:09:45 -0700 (PDT) From: Peng Zang Reply-To: peng.zang@gmail.com To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] native vs bytecode Date: Wed, 6 Aug 2008 16:09:36 -0400 User-Agent: KMail/1.9.7 Cc: "Ben Aurel" References: <74a4f4670808061258q30513bbdl446240feab3fdc36@mail.gmail.com> In-Reply-To: <74a4f4670808061258q30513bbdl446240feab3fdc36@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808061609.38758.peng.zang@gmail.com> X-Spam: no; 0.00; bytecode:01 hash:01 bytecode:01 ocaml:01 ocaml:01 beginner's:01 bug:01 peng:98 peng:98 beginners:01 wrote:01 binaries:01 stack:01 dynamically:01 dynamically:01 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What do you mean by "dynamically load"? You cannot mix native and bytecode generally speaking. I don't know of any speed comparisons of OCaml bytecode. You can always compile to native code, which is faster, so I don't understand why you would want to run anything large with bytecode. Peng On Wednesday 06 August 2008 03:58:22 pm Ben Aurel wrote: > hi > As I try to acquire more knowledge about Ocaml I made a bit of an > unpleseant discovery today. I always was fascinated by the execution > performance of Ocaml. But now I've learned, that this is only true for > native binaries and I'm a little confused now: > > - is it possible to dynamically load native libraries into a native > program? > > - is it possible to dynamically load bytecode libraries into a native > program? > > - is it possible to dynamically load native libraries into a bytecode > program? > > - is it possible to dynamically load bytecode libraries into a bytecode > program? > > - Are there any performance test that shows how bytecode programs > stack up agains dynamic languages like ruby, perl and python? > > thanks > ben > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFImgUCfIRcEFL/JewRAnvkAJ4/55GKZjoZF40z2J7LDOvChKZQ+gCbBbws gGAKM/WB1OFovWdowvrjQxk= =xX5E -----END PGP SIGNATURE-----