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 F3FDFBBAF for ; Mon, 22 Nov 2010 14:36:21 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArEBAAcB6kzRVdg0kGdsb2JhbACDSpBVhikBiAQIFQEBAQEJCQwHEQMfiCuaJIknPIIYhGYuiFkBAQMFhFNzBIFciQKFfQ X-IronPort-AV: E=Sophos;i="4.59,236,1288566000"; d="scan'208";a="67822905" Received: from mail-qw0-f52.google.com ([209.85.216.52]) by mail3-smtp-sop.national.inria.fr with ESMTP; 22 Nov 2010 14:36:18 +0100 Received: by qwb8 with SMTP id 8so41874qwb.39 for ; Mon, 22 Nov 2010 05:36:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=V0OOANWh6rRfqmqTsfdjDWCJ3XRit7VBUrt/jr6KUaY=; b=XLsBR392yKsA6jKjGRpXrArxVPo6R7Cvbw6AqxWPAyBaV9KhCkMadWl5YXbcPKlGij 0qgemjlrrt/oC5ldYdw28TwjS6/R/laAP1ux0kH8Ks+tAQ56VWkzJ5EcitOwDz1qWrv+ 4D4HMWMZvolePeLnavkHynOkfmxB4xpkMKzUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=jZKIGxbAQi4c62ON0NAqka9O+AbntL1DNrUaNpOioCTlLOQInx/ovGsu+7hT2U4OEb wqS1jt/4U0cPTIVWZzP/NFhQkIF2kkyo9UhvrJMBLg9K0QBNbVebqaLExqrN9fFY8zg8 7Gr5dYJqhAxpAJ+SjPVFvV36TjTzXZlFZ/YLw= Received: by 10.229.238.148 with SMTP id ks20mr5006684qcb.262.1290432957515; Mon, 22 Nov 2010 05:35:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.26.129 with HTTP; Mon, 22 Nov 2010 05:35:37 -0800 (PST) In-Reply-To: References: From: Gregory Bellier Date: Mon, 22 Nov 2010 14:35:37 +0100 Message-ID: Subject: Re: [Caml-list] Is OCaml fast? To: Thanassis Tsiodras Cc: caml-list@yquem.inria.fr Content-Type: multipart/alternative; boundary=00163646b8ee0a080b0495a45612 X-Spam: no; 0.00; ocaml:01 o'caml:01 segfault:01 ocaml:01 haskell:01 beginner's:01 bug:01 o'caml:01 segfault:01 haskell:01 beginner's:01 bug:01 ubc:98 ubc:98 beginners:01 X-Attachments: cset="UTF-8" cset="UTF-8" --00163646b8ee0a080b0495a45612 Content-Type: text/plain; charset=UTF-8 If you want speed then you should learn assembly or choose C as a second choice. It depends on the kind of apps you'd like to write. Even though O'Caml is fast, it's not the first criteria I have in mind which would be security : no segfault, no need to handle horrible stuff like in C, ... 2010/11/22 Thanassis Tsiodras > 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) > > _______________________________________________ > 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 > --00163646b8ee0a080b0495a45612 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable If you want speed then you should learn assembly or choose C as a second ch= oice.
It depends on the kind of apps you'd like to write. Even thoug= h O'Caml is fast, it's not the first criteria I have in mind which = would be security : no segfault, no need to handle horrible stuff like in C= , ...


2010/11/22 Thanassis Tsiodras <ttsiodras@gmail.com= >
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.ht= ml), 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 an= d
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= )

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.in= ria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

--00163646b8ee0a080b0495a45612--