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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 1771EBBAF for ; Mon, 22 Nov 2010 14:21:03 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmUBAJP86UzRVditkGdsb2JhbACDSpEGjX0IFQEBAQEJCQwHEQMfiCuaIIknPIIYhGYuiFkBAQMFgR2DNnMEil4 X-IronPort-AV: E=Sophos;i="4.59,236,1288566000"; d="scan'208";a="80689741" Received: from mail-qy0-f173.google.com ([209.85.216.173]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-MD5; 22 Nov 2010 14:21:02 +0100 Received: by qyk1 with SMTP id 1so798092qyk.18 for ; Mon, 22 Nov 2010 05:21:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=q14TXhB35xxQ0xonJdbgd40O18i89yPbViH4iJLMW5Y=; b=GVKNtKg7xF2c4fI2C3JySdZgZ+TDETgvZEhtU4zPCQbeLVg/U3+/yK/jI2PvDX6P0z YIZ6mX0hZV7xw6e62KAX8oMnNhgTXWRvHt2l/XjnCtSoPBhOVWuVmqXBLtPjOkwH55Nk qQXtXS4mfCHW3R7yrIpjr0ZwPM5UH9E9Uor/Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NOT67bUQS9O9lX2y3ZqYgIA5S7liSbmo81bH9bvKfuYhnbdyo9RKTU1rXTX4OVkpsn V+K9JlBkGj4nO5VpXyLTn3ddqFW748yHiGI9XDJ03u8lDsGk/rFES9/rPb6baFDQqYMy 0uDlpjGEs8hvvQRhemJSfdax6G8aCkUUy2xVI= MIME-Version: 1.0 Received: by 10.229.91.211 with SMTP id o19mr5202821qcm.87.1290432061029; Mon, 22 Nov 2010 05:21:01 -0800 (PST) Received: by 10.229.95.72 with HTTP; Mon, 22 Nov 2010 05:21:00 -0800 (PST) Date: Mon, 22 Nov 2010 15:21:00 +0200 Message-ID: Subject: Is OCaml fast? From: Thanassis Tsiodras To: caml-list@yquem.inria.fr Content-Type: text/plain; charset=UTF-8 X-Spam: no; 0.00; ocaml:01 ocaml:01 haskell:01 ubc:98 executables:01 shootout:02 shootout:02 languages:03 debian:04 missing:07 generates:07 suggested:07 actually:10 except:11 php:87 I apologize beforehand if this is not the forum to ask. I am on the fence about whether to learn OCaml or not, and while reading an article called "Why OCaml" (http://www.cs.ubc.ca/~murphyk/Software/Ocaml/why_ocaml.html), I saw that OCaml was praised for the speed of the executables it generates - and was referred to, speed-wise, as "second to none", except C and C++. However, when I actually went to the Language Shootout page suggested in the article, I found out that OCaml is not 2nd, it is 13th, behind languages like Haskell and C#... (http://shootout.alioth.debian.org/u32/which-programming-languages-are-fastest.php) Is it just hype, then? Or am I missing something? -- What I gave, I have; what I spent, I had; what I kept, I lost. (Old Epitaph)