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.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 2AF81BBC4 for ; Mon, 16 Mar 2009 18:32:51 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIDAHspvknUnwckZ2dsb2JhbACCHZMlDQkFBwcRBMBQg38G X-IronPort-AV: E=Sophos;i="4.38,374,1233529200"; d="scan'208";a="25682454" Received: from relay.ptn-ipout02.plus.net ([212.159.7.36]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 16 Mar 2009 18:32:50 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMGALMpvknUnw4U/2dsb2JhbACCHdQ2g38G Received: from pih-relay08.plus.net ([212.159.14.20]) by relay.ptn-ipout02.plus.net with ESMTP; 16 Mar 2009 17:32:50 +0000 Received: from [87.113.11.250] (helo=leper.local) by pih-relay08.plus.net with esmtp (Exim) id 1LjGgE-000654-3S for caml-list@yquem.inria.fr; Mon, 16 Mar 2009 17:32:50 +0000 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] caml trading Date: Mon, 16 Mar 2009 17:38:35 +0000 User-Agent: KMail/1.9.9 References: <891bd3390903131252t7feb059aq94f56b0a4d2efbf3@mail.gmail.com> <594f78210903161001k685fc9ccnb4f566c342e2bfca@mail.gmail.com> In-Reply-To: <594f78210903161001k685fc9ccnb4f566c342e2bfca@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903161738.35576.jon@ffconsultancy.com> X-Plusnet-Relay: 716542023c32872fa6c8a6ee084450e1 X-Spam: no; 0.00; compiler:01 compiler:01 ocaml:01 ocaml:01 high-level:01 low-level:01 ffi:01 ogl:01 2009:98 javascript:98 javascript:98 frog:98 wrote:01 compilers:01 compilers:01 On Monday 16 March 2009 17:01:15 aditya siram wrote: > Thanks for this awesome video! I was unaware that the Caml compiler did not > optimize source code before generating native code. Now I am a little less > afraid to study the actual compiler! The OCaml compilers are remarkably comprehensible. I attribute that to the OCaml developers at INRIA discarding implementations of ideas that turned out to be rubbish rather than accumulating such cruft. So there is very little irrelevant baggage in there compared to many other compilers. > Your point about a lack of GUI libraries is great - however it seems as > though they are not as important as they once were. The amazing javascript > toolkits [1] that have sprung up over the last year (along with the Ocsigen > and OBrower project [2]) have filled most of that vaccum. > > As long as there are libraries that provide an easy way to hook up with a > web client is there still a compelling reason to develop native GUI > toolkits? Performance. If you want to do OpenGL-based visualization then you at least need a fast route from the high-level data you are visualizing through to a low-level representation (e.g. tesselations) down to the C FFI to the OGL driver. Javascript is, of course, not up to the task. OCaml is much better but there is still room for improvement. -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?e