From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 4D72D7EE49 for ; Fri, 20 Sep 2013 14:04:40 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of info@gerd-stolpmann.de) identity=pra; client-ip=212.227.126.171; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="info@gerd-stolpmann.de"; x-sender="info@gerd-stolpmann.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of info@gerd-stolpmann.de) identity=mailfrom; client-ip=212.227.126.171; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="info@gerd-stolpmann.de"; x-sender="info@gerd-stolpmann.de"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of postmaster@moutng.kundenserver.de designates 212.227.126.171 as permitted sender) identity=helo; client-ip=212.227.126.171; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="info@gerd-stolpmann.de"; x-sender="postmaster@moutng.kundenserver.de"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuQBAH85PFLU436rlGdsb2JhbABagz/CC4EcFg4BAQEBBwsLCRIqgiUBAQQBVR4GEAsYLkkBDQYTCRWHYQoIulyJQoRQFAyBDSYHhB4DjnqPM45rgWYBCBc X-IPAS-Result: AuQBAH85PFLU436rlGdsb2JhbABagz/CC4EcFg4BAQEBBwsLCRIqgiUBAQQBVR4GEAsYLkkBDQYTCRWHYQoIulyJQoRQFAyBDSYHhB4DjnqPM45rgWYBCBc X-IronPort-AV: E=Sophos;i="4.90,944,1371074400"; d="asc'?scan'208";a="33680445" Received: from moutng.kundenserver.de ([212.227.126.171]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 20 Sep 2013 14:04:39 +0200 Received: from office1.lan.sumadev.de (dslb-178-004-026-199.pools.arcor-ip.net [178.4.26.199]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MF4A7-1V8MCT3P7z-00GGBV; Fri, 20 Sep 2013 14:04:39 +0200 Received: from [192.168.0.119] (ip-109-90-191-98.unitymediagroup.de [109.90.191.98]) by office1.lan.sumadev.de (Postfix) with ESMTPSA id 1C5FBC00CF; Fri, 20 Sep 2013 14:04:38 +0200 (CEST) Message-ID: <1379678672.18805.13.camel@e130> From: Gerd Stolpmann To: Gour Cc: caml-list@inria.fr Date: Fri, 20 Sep 2013 14:04:32 +0200 In-Reply-To: <20130920065112.53ef157d@atmarama.noip.me> References: <20130910230928.2d51cd39@atmarama.noip.me> <20130911073854.GA4499@kerneis.info> <20130911102024.6a311672@atmarama.noip.me> <1378899769.11824.15.camel@thinkpad> <20130918134229.37a0df52@atmarama.noip.me> <523AB1C7.1050509@frisch.fr> <20130920065112.53ef157d@atmarama.noip.me> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-hpq3jwXkPlsLD9mVJnxP" X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Provags-ID: V02:K0:Jk83JjC3GWJ0zOwWvfqCB4elR/uheQdc5ZWoP3eWdQT X9hDaPHX5ZF9rHjf11WIE+uwLBj/5vlCoZg91wgy1d4r1Vawg8 /fGdPjgZbgtWoGaI1R84thIQQ3Ovltf7+3fsKFixLe+Z+rgMx3 YFo+wdhaoass4X2th6bIQ66UPoAI5H79PO0dANNjmqIjUOLCfB Mt80V61SKI4vNLpTsWpeGFhR3TeH2XuMkzDUfKrUPdlZPI1HD7 Ks1Yo/fRMjQCJVV/DxujyM2kLIGMDKmN2qLr6VWu2nMQJ7cjv3 fYVH5OWYncP5/sWiVwaiKLVhLflNT5tJ0JL3s4A1+A5fbBGMCF nBPzqUcU3UD6SLwy9vvP/eZ95bibSZPUDKwMrawul Subject: Re: [Caml-list] OCaml vs Ada and/or GUI options --=-hpq3jwXkPlsLD9mVJnxP Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable Am Freitag, den 20.09.2013, 06:51 +0200 schrieb Gour: > On Thu, 19 Sep 2013 10:11:51 +0200 > Alain Frisch wrote: >=20 > > Overall, we were impressed by the easiness to integrate js_of_ocaml > > (no need to patch the compiler or do big changes to the build system) > > and its faithfulness to the semantics of OCaml. Really no big bad=20 > > surprises, and it was amazing to see a complex piece of software > > running in the browser.=20=20 >=20 > Great! >=20 > > js_of_ocaml opens many interesting doors for using OCaml in web > > development! >=20 > Does it include writing desktop apps running in browser? >=20 > :-) I would say so - although you won't get the "look and feel" of a desktop app, but of a web app. From a design perspective, this is a big win IMHO, and users probably even like this. E.g. you'll need to use graphically designed menus, and no menu bars. The biggest problem I see is that the interaction with the system is limited (e.g. access to file system is generally not possible with the exception of special browser-app areas - see "local storage" [1] and "indexed database API" [2]; there are browser-specific API extensions, though). [1] https://en.wikipedia.org/wiki/Web_storage [2] https://en.wikipedia.org/wiki/Indexed_Database_API If you are willing to accept browser differences, this is an interesting option with some future - there is an enormous pressure on the desktop vendors to make the desktop as easy as the web, e.g you can already run web apps directly in the Windows 8 desktop (the user doesn't see that there is a browser running it). >=20 >=20 > Considering I have a need to call 3rd party C lib via OCaml bindings, > does it change anything in the whole scenario? This won't be directly available, but only with the indirection of running the lib in a local server process, and accessing it via HTML requests. (Unless you include it as browser plugin.) Gerd >=20 > Sincerely, > Gour >=20 > --=20 > From wherever the mind wanders due to its flickering and unsteady=20 > nature, one must certainly withdraw it and bring it back under=20 > the control of the self. >=20 > http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 >=20 >=20 >=20 --=20 ------------------------------------------------------------ Gerd Stolpmann, Darmstadt, Germany gerd@gerd-stolpmann.de My OCaml site: http://www.camlcity.org Contact details: http://www.camlcity.org/contact.html Company homepage: http://www.gerd-stolpmann.de ------------------------------------------------------------ --=-hpq3jwXkPlsLD9mVJnxP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAABAgAGBQJSPDnQAAoJEAaM4b9ZLB5Tou8IAII7YrFpYUZ1CWNdQlYylif3 xcOnJSO2aVx4XyPUhUdgnW6URFBWjWPaODL04Qnpkb3DtAMWHkHvHlJ/IY8LnBv8 890roL2/needcE+udZ8JMB741jGdN2rcOfdPlnwwFTOaF4Pbyv07bWzUT1c5MXCg rxYdf2RlyoqEupXcCSCyroRX5YmC/9Lxwqg3ZnspvCI3AekY+mg4K54WJtdkbf2j DHJ7AC2Vm8LGAdkOnO5o4c/g6zIfSUPj4OS6d/O1ZSMv5zXD2m6PEPzh5YEgE+12 JZFCsoiMKkm5hf+RyEqtrpt0KcgrfRdNXWokxEJCULIbKMka51UorIdY88q5w2w= =D9j9 -----END PGP SIGNATURE----- --=-hpq3jwXkPlsLD9mVJnxP--