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.1 required=5.0 tests=AWL 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 DB5A3BBCA for ; Mon, 12 May 2008 14:54:48 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqsDAALbJ0hDWxLCbmdsb2JhbACBU5A8Npdy X-IronPort-AV: E=Sophos;i="4.27,473,1204498800"; d="scan'208";a="10625648" Received: from ip67-91-18-194.z18-91-67.customer.algx.net (HELO server1.bertec.net) ([67.91.18.194]) by mail2-smtp-roc.national.inria.fr with ESMTP; 12 May 2008 14:54:48 +0200 Received: from kuba.bertec.net (kuba.bertec.net [192.168.2.16]) by server1.bertec.net (Postfix) with ESMTP id 98A80CDFB6 for ; Mon, 12 May 2008 08:54:46 -0400 (EDT) From: Kuba Ober To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Re: Why OCaml sucks Date: Mon, 12 May 2008 08:54:45 -0400 User-Agent: KMail/1.9.9 References: <200805090139.54870.jon@ffconsultancy.com> In-Reply-To: <200805090139.54870.jon@ffconsultancy.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805120854.45499.ober.14@osu.edu> X-Spam: no; 0.00; ocaml:01 encodings:01 runtime:01 cheers:01 imho:01 caml-list:01 strings:01 bytes:03 languages:03 character:04 overhead:04 overhead:04 i'd:06 i'd:06 osu:07 > 5. Strings: pushing unicode throughout a general purpose language is a > mistake, IMHO. This is why languages like Java and C# are so slow. Unicode by itself, when wider-than-byte encodings are used, adds "zero" runtime overhead; the only overhead is storage (2 or 4 bytes per character). Given that storage is cheap, I'd much rather have Unicode support than lack of it. How exactly unicode support makes Java and C# slow?! Jon, I'd have thought that you know better than that :( Oh well, we all have bad days. Cheers, Kuba