From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 620527EC6E for ; Sat, 18 Jan 2014 03:22:49 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of yallop@gmail.com) identity=pra; client-ip=74.125.82.174; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="yallop@gmail.com"; x-sender="yallop@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of yallop@gmail.com designates 74.125.82.174 as permitted sender) identity=mailfrom; client-ip=74.125.82.174; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="yallop@gmail.com"; x-sender="yallop@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-we0-f174.google.com) identity=helo; client-ip=74.125.82.174; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="yallop@gmail.com"; x-sender="postmaster@mail-we0-f174.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvMCAE/k2VJKfVKulGdsb2JhbAA/GoNDVoJ+uCiBAggWDgEBAQEHCwsJEiqCJQEBAQICIx0BGx0BAwwGBQsNAgImAgIiAREBBQEcBhMIh2gBAxENNpsnjAlTgwmSHAoZJw1khHIRAQUMgR2NIzMHgm+BSQSYIYExjnkYKYRZPA X-IPAS-Result: AvMCAE/k2VJKfVKulGdsb2JhbAA/GoNDVoJ+uCiBAggWDgEBAQEHCwsJEiqCJQEBAQICIx0BGx0BAwwGBQsNAgImAgIiAREBBQEcBhMIh2gBAxENNpsnjAlTgwmSHAoZJw1khHIRAQUMgR2NIzMHgm+BSQSYIYExjnkYKYRZPA X-IronPort-AV: E=Sophos;i="4.95,677,1384297200"; d="scan'208";a="45241015" Received: from mail-we0-f174.google.com ([74.125.82.174]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 18 Jan 2014 03:22:48 +0100 Received: by mail-we0-f174.google.com with SMTP id x55so5188111wes.19 for ; Fri, 17 Jan 2014 18:22:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=y147bgTcTqLUwQK2luDx0lQ3Q0UT8qtDbmds1cfoRfU=; b=FYcitjonaIYUPa5nL0uB53C2mG7Q7LnlxJLkj/YnlQ6OXjfrg+j5MuOhXwsuiOxdWv NEhQVHa0HaTfyq2lUakel+yrr9h/RJZtGkCmk3GYKHNcejoU3wMHjFhiq+Pn7pd+FBiQ rHkHPSapUXXWORjqipR90s1CiMLvWCQN7urPRc45U2Cnaaj9sFRr+Kkww/om95QsANUL Xwag7oaPR1JKyoIVaQy54xmPkalZiS8lShYYM4PiHlyUigxHtcz29CcWaXMtunHEDp2I xJIfbkF1BsIoRKCsL+9XyXDBHIjzSOuKId6Breo2kyg70o9DGZtI43XPAEyn4hcVp3Kf 3DYw== MIME-Version: 1.0 X-Received: by 10.180.79.106 with SMTP id i10mr981133wix.23.1390011768261; Fri, 17 Jan 2014 18:22:48 -0800 (PST) Received: by 10.216.33.4 with HTTP; Fri, 17 Jan 2014 18:22:48 -0800 (PST) In-Reply-To: <02b301cf13e5$bdd11af0$397350d0$@ffconsultancy.com> References: <2112632769.281907.1389913202532.open-xchange@communicator.strato.de> <0290505B-A21A-4A05-A1C9-4C5F765DFEB5@math.nagoya-u.ac.jp> <02b301cf13e5$bdd11af0$397350d0$@ffconsultancy.com> Date: Sat, 18 Jan 2014 02:22:48 +0000 Message-ID: From: Jeremy Yallop To: Jon Harrop Cc: Jacques Garrigue , OCaML List Mailing Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Caml-list] ocaml considered dangerous Jacques Garrigue wrote: >> By the way, there is now an implementation of Printf that avoids most of= the Obj.magic by using GADTs. It should be merged soon. Jon Harrop wrote: > Just curious: is that a drop-in replacement? Yes, except for some tiny incompatibilities, mostly fixes for bugs that the development of the GADT version uncovered in the original implementation. The patch is here, along with a description and some discussion: http://caml.inria.fr/mantis/view.php?id=3D6017 The author, Beno=C3=AEt Vaugon, presented the design along with some performance figures at OCaml 2013: http://ocaml.org/meetings/ocaml/2013/proposals/formats-as-gadts.pdf http://ocaml.org/meetings/ocaml/2013/slides/vaugon.pdf