From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by c5ff346549e7 (Postfix) with ESMTPS id 6D4075D5 for ; Tue, 25 Jan 2022 12:45:03 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.88,314,1635199200"; d="scan'208,217";a="17824569" Received: from prod-listesu18.inria.fr (HELO sympa.inria.fr) ([128.93.162.160]) by mail2-relais-roc.national.inria.fr with ESMTP; 25 Jan 2022 13:45:02 +0100 Received: by sympa.inria.fr (Postfix, from userid 20132) id 1BFF3E027D; Tue, 25 Jan 2022 13:45:02 +0100 (CET) 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 EECE5E00CE for ; Tue, 25 Jan 2022 13:44:55 +0100 (CET) Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=Pass smtp.pra=alan.schmitt@polytechnique.org; spf=Pass smtp.mailfrom=SRS0=QE2E=SJ=polytechnique.org=alan.schmitt@bounces.m4x.org; spf=Pass smtp.helo=postmaster@mx1.polytechnique.org IronPort-SDR: dJYfAIwgSe6lMKXiwaFeLHlIg7NDc2CT5F8MVhrEPU6LpkbgT9Yuwuxr4rKo7K2v1nr9GQTsL2 5/I1/dPtO6ZFzHCi7DYMGJwya9IpZvOtZKS0Gq5vkH1buZRn3qPeqdjz8Y1P1PJYjq0N3sD33L 20Icwll7PRb23eH5IIuNDvFcd+OuWPrnaWjkYpXTmAM1RDu7bMkcic17Y9ZdvGrryigwfTo72f 9EaXQeFrdry2k8HxlQHeMF1gRudN1FVI54O5DFXNnOQFEb7JyNcC7+90aMjW0IgmH5zEHqGnJ2 o31GjeRlOjeU7PKXRyDee408 X-IPAS-Result: =?us-ascii?q?A0AaAgCL7+9hhyIeaIFaFoNugQcZAWRXKwcIMYRJgV6HJ?= =?us-ascii?q?YgQiUqULgNPEAEDAQ0qAQwHAQIEAQ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ypv3802x1RfHAQEZKLXxHXCqCYHioZiYRZZllS1Cb89PoZFKypiMJEyy8uNB4p uGwkATBTsNbFQhlCc/XbtOpzk+w7CNMw7orBBGRL4kBYljo/ahrNzf10q09LfYKJEiR3TCdz QuXXUoVqLCV8Y84+dXEn46eqIKtH7csF0ZWBTCEv66xMTjG82Gjx45ZTevOeirSDTum9KKnb ORT7vf9LPxWxQYa49AkS+5mlPts6cHuqrlWyhVfME/KN1n7WKl9JnSm3NVUsvEfzLFuvwbrC FmE/cNXOOnUNc7oTAwRKQ4iYrjR3P0YgGOLv/EleQPi4ytm4LeMUUNTJgSBzitHI+ItYo8ix O4gvu8Q6hC+20N6Yobc1ngM+jTeNGEEXoUmqooeXt3hhD0r/VceM5bSPSn7vcOUYNJWP0h2e TKZ2PjYi7JHyhaQenY/DyKUj+9N3NIWvxRb0FIJJ1KIg8fIwPgt00QJozgwSw1UyDRB0v5ya zE7Zx0vff3W8mc6ntVHUkCtBxpFWk+T9Hvx/F1VxmfXeE+lCz7WJ2onNOfRp00U/gqwpNSAE G10FYokbdrrQC019i4iAAh9rPjyUdF69gvDgd2qWcOfEPHWpBL717S2azNgRwTPWKsMaI/v/ IGGP9qcrYXxMjMWqKAgTYzGxfIXUh/syKlqWulvpuVRdY3DUGja5NVNQnxdvutVIPjb7UKzC 8pvP99CEROk205iaxgAHaBWZecccOEBvbI/R18gGYLKX3ZzYNakXFI8OxUSXFMWfug= IronPort-HdrOrdr: A9a23:mkfQu67EZ1j45Zd5FAPXwM/XdLJyesId70hD6qkRc3xom6Oj+P xG8M5w6faWslcssRMb9+xoUZPoKRjhHPVOjbX5U43OYCDW/EOWaKti4YHhzzCIIVycysdtkY F6fexbAN30ZGIK6PoSDTPIceod/A== X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="5.88,314,1635199200"; d="scan'208,217";a="4023244" X-MGA-submission: =?us-ascii?q?MDGacxbPr2iYZ+3f7P1Rj11dIqxELIzxrhqGs+?= =?us-ascii?q?ZG20nwneW5WfiCNdbjtF+5LiISmV+/EMabnIbCywlVVrihHfkzKAsEs5?= =?us-ascii?q?enw1CwOuXHhW03rMfYv49wAJWSWtdzG1UKW086JuPVMDvl7i2CXxHTRr?= =?us-ascii?q?ALmIuPi6s3o8bYDRDx9ZFksg=3D=3D?= Received: from mx1.polytechnique.org ([129.104.30.34]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2022 13:44:54 +0100 Received: from set (set.irisa.fr [131.254.10.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 4925A564671; Tue, 25 Jan 2022 13:44:53 +0100 (CET) From: Alan Schmitt To: "lwn" , "cwn" , caml-list@inria.fr Date: Tue, 25 Jan 2022 13:44:52 +0100 Message-ID: <87a6fk56ij.fsf@m4x.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=-=-=" X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Tue Jan 25 13:44:53 2022 +0100 (CET)) X-Spam-Flag: No, tests=bogofilter, spamicity=0.048017, queueID=96544564673 X-Org-Mail: alan.schmitt.1995@polytechnique.org Subject: [Caml-list] Attn: Development Editor, Latest OCaml Weekly News Reply-To: Alan Schmitt X-Loop: caml-list@inria.fr X-Sequence: 18684 Errors-To: caml-list-owner@inria.fr Precedence: list Precedence: bulk Sender: caml-list-request@inria.fr X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Here is the latest OCaml Weekly News, for the week of January 18 to 25, 2022. Table of Contents =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80 wu-manber-fuzzy-search 0.1.0 (new library) findlib-1.9.2 Signals and Threads on Memory Management OCaml 4.14.0, first alpha release A brief survey for Learn-OCaml Community Blog post: Js_of_ocaml, a bundle size study Interesting OCaml Articles Old CWN wu-manber-fuzzy-search 0.1.0 (new library) =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90= =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90 Archive: Ifaz Kabir announced =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80 I'm happy to introduce wu-manber-fuzzy-seach, my library for doing fuzzy searches using the Wu and Manber fuzzy search algorithm. The novel part of this library particularly, when compared to `agrep/ocamlagrep', is that I additionally provide a right-leaning variant of the algorithm. The variant reports better matches and error counts when looking at the first match. Here's an example of the differences. =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 # open Wu_Manber;; =E2=94=82 # StringSearch.(search ~k:2 ~pattern:"brown" ~text:"quick brown= fox" |> report);; =E2=94=82 - : string =3D "Pattern matched with 2 errors at character 9 of= text" =E2=94=82 # StringSearch.(search_right_leaning ~k:2 ~pattern:"brown" ~tex= t:"quick brown fox" |> report);; =E2=94=82 - : string =3D "Pattern matched with 0 errors at character 11 o= f text" =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 It's a pure OCaml implementation, using `Optint.Int63.t' as bit-vectors. I don't current support all the extensions that `agrep/ocamlagrep' supports, and will definitely not match the performance: OCaml+C vs pure OCaml. The documentation for the library can be found [here]. It's not on `opam' yet, but there is a [PR]. Expect more bitvector, Levenshtein distance, and fuzzy search shenanigans in the near future! [here] [PR] findlib-1.9.2 =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90 Archive: Gerd Stolpmann announced =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 findlib-1.9.2 is out. The only change is a fix for a build problem regarding the OCaml-5 trunk. For manual, download, manuals, etc. see here: An updated OPAM package will follow soon. Signals and Threads on Memory Management =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90= =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90 Archive: gasche said =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80 I just had an excellent time listening to the last Signals and Threads podcast episode on [Memory Management], with Stephen Dolan (@stedolan) as the guest and Yaron Minsky (@Yaron_Minsky) as the host discussing: =E2=80=A2 memory management in programming languages in general =E2=80=A2 memory management in OCaml =E2=80=A2 ongoing research by Stephen and Leo White (@lpw25) on memory-management and data-representation features for OCaml (unboxed types, local values on the stack). The link contains both the audio and a full text transcript. I would warmly recommend giving it a try if you are interested in programming language implementation. There is new stuff to learn for everyone, and I also liked the presentation of the parts I was already familiar with. [Memory Management] Yaron Minsky replied =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80 Thanks for the nice words. Interviewing Dolan was fun and I learned a lot. Local types are still very new: we're hoping to start rolling it out in a limited way internally in the next few weeks, and I expect we'll learn a lot from that. We plan on discussing it more publicly as well, but that's a bit farther out. In the meantime, the source is all available [on Github] if anyone wants to poke around. The approach to stack allocation is different and simpler than the one in Rust, as Dolan explained in the episode. Instead of having implicit, polymorphic lifetime variables, function arguments can be marked as local, which prevents the function in question from stashing a reference to those types. This avoids the need to deal with higher-rank polymorphism, which Rust's lifetime approach requires, and as a result makes inference work nicely. Another neat trick is that you can create functions that can allocate on the parent stack frame (by dint of not having their own stack frame). This lets you build smart constructors for stack-allocated values. Local types are apparently an example of modal types, though I don't really know enough type theory to have a deep sense of what that means. But it's a powerful thing, and local types appear to be useful for more than just stack allocation, as we're just starting to discover. [on Github] Yaron Minsky then added =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 And, I suppose as I should always mention: we're looking for people to come and work with Dolan and Leo and the rest of the team on this kind of stuff. More here: OCaml 4.14.0, first alpha release =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90= =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90 Archive: octachron announced =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80 The set of new features for the future version 4.14.0 of OCaml has been (finally) stabilized, three months after the release of OCaml 4.13.1. I am thus happy to announce the first alpha release for OCaml 4.14.0 . This alpha version is here to help fellow hackers join us early in our bug hunting and opam ecosystem fixing fun (see below for the installation instructions). You can see the progress on this front at . If you find any bugs, please report them here: Most major OCaml developer tools are already supported with this alpha (from odoc to merlin), thus I expect us to switch to beta releases in the beginning of February. The full release is expected to happen in late February. This early release will give us time to focus on the release of OCaml 5.0. If you are interested by the list of new features and the ongoing list of bug fixes, the updated change log for OCaml 4.14.0 is available at: Happy hacking, Florian Angeletti for the OCaml team. Installation instructions =E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2= =95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95= =8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C The base compiler can be installed as an opam switch with the following commands =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 opam update =E2=94=82 opam switch create 4.14.0~alpha1 --repositories=3Ddefault,beta= =3Dgit+https://github.com/ocaml/ocaml-beta-repository.git =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 With opam 2.1, the previous command line can be simplified to =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 opam update =E2=94=82 opam switch create 4.14.0~alpha1 =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 If you want to tweak the configuration of the compiler, you can switch to the option variant with: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 opam update =E2=94=82 opam switch create --packages=3Docaml-variants.4.= 14.0~alpha1+options, =E2=94=82 --repositories=3Ddefault,beta=3Dgit+https://github.com/ocaml/oc= aml-beta-repository.git =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 or with opam 2.1: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 opam update =E2=94=82 opam switch create ocaml-variants.4.14.0~alpha1+o= ptions =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 where `' is a comma separated list of ocaml-option-* packages. For instance, for a flambda and no-flat-float-array switch: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 opam switch create 4.14.0~alpha1+flambda+nffa ocaml-variants.4.= 14.0~alpha1+options ocaml-option-flambda =E2=94=82 ocaml-option-no-flat-float-array =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 All available options can be listed with `opam search ocaml-option'. If you want to test this version, it is advised to install the alpha opam repository with =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 opam repo add alpha git://github.com/kit-ty-kate/opam-alpha-rep= ository.git =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 This alpha repository contains various fixes in the process of being upstreamed. The source code for the alpha is also available at these addresses: =E2=80=A2 =E2=80=A2 A brief survey for Learn-OCaml Community =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90= =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90 Archive: Erik Martin-Dorel announced =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80 [This post is just a follow-up of an earlier message on [caml-list], intended to reach more learn-ocaml instructors, so you can ignore this one if you already replied!] The OCaml Software Foundation is developing the teaching platform Learn-OCaml that provides auto-graded exercises for OCaml, and was initially authored by OCamlPro for the OCaml MOOC: . The platform is free software and easy to deploy; this is great, but as a result we keep learning of users/deployments that we had no idea of. We would be interested in having a better view of our user-base. If you use Learn-OCaml as a teacher, could you fill *[this Evento survey]* to let us know? (the survey will be closed on 2022-02-07) =E2=86=92 It contains these questions: =E2=80=A2 Where are you using Learn-OCaml? (in which university (a specif= ic course?), which company, online community or=E2=80=A6?) =E2=80=A2 Would you like to see your university/company added in [github.com/ocaml-sf/learn-ocaml-places]? =E2=80=A2 How many students/learners use your deployment in a year? And just to recall, a few links: =E2=80=A2 For an example of Learn-OCaml instance, see =E2=80=A2 Last October we had a 0.13.0 release with several new features: =E2=80=A2 For any question related to Learn-OCaml, feel free to create a discussion topic on , category *`Community'*, tag *`learn-ocaml'* (/similarly to this discussion topic!/ :slight_smile:) =E2=80=A2 And if need be, opening an issue in if of course warmly welcome as well. [caml-list] [this Evento survey] [github.com/ocaml-sf/learn-ocaml-places] Blog post: Js_of_ocaml, a bundle size study =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90= =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=90 Archive: Javier Ch=C3=A1varri announced =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Hi all, I hope your Monday is going great. :slight_smile: I wanted to analyze bundle size performance in Js_of_ocaml, so I rewrote an existing ReScript web app to compare both outputs. Here is the blog post with all the data, conclusions, and takeaways: It has been a very interesting experiment, that helped me learn more about Js_of_ocaml and the way it generates JavaScript code, and also improve some small things along the way in the libraries I was using for the project. The conclusions, while maybe already known by others, are also quite exciting to me, as the experiment confirms my suspicion that Js_of_ocaml bundle size scales just fine as applications get more complex, so it is suitable for a quite significant number of real world scenarios. I hope you find it interesting and exciting as well. Please share any feedback you might have! Or any questions if anything is unclear. Interesting OCaml Articles =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90= =E2=95=90 Archive: Yotam Barnoy said =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80 Old CWN =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90 If you happen to miss a CWN, you can [send me a message] and I'll mail it to you, or go take a look at [the archive] or the [RSS feed of the archives]. If you also wish to receive it every week by mail, you may subscribe [online]. [Alan Schmitt] [send me a message] [the archive] [RSS feed of the archives] [online] [Alan Schmitt] --=-=-= Content-Type: text/html; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable OCaml Weekly News

OCaml Weekly News

Previous Week<= /a> Up Next Week

Hello

Here is the latest OCaml Weekly News, for the week of January 18 to 25, 202= 2.

wu-manber-fuzzy-search 0.1.0 (new library)

Ifaz Kabir announced

I'm happy to introduce wu-manber-fuzzy-seach, my library for doing fuzzy se= arches using the Wu and Manber fuzzy search algorithm.

The novel part of this library particularly, when compared to agrep/o= camlagrep, is that I additionally provide a right-leaning variant of the algorithm. The variant reports better matches = and error counts when looking at the first match. Here's an example of the differences.

# open Wu_Manber;;
# StringSearch.(search ~k:2 ~pattern:"brown" ~text:"quick brown fox" |> report);;
- : string =3D "Pattern matched with 2 erro=
rs at character 9 of text"
# StringSearch.(search_right_leaning=
 ~k:2 "brown" ~text:"quick b=
rown fox" |> report);;
- : string =3D "Pattern matched with 0 erro=
rs at character 11 of text"

It's a pure OCaml implementation, using Optint.Int63.t as bit-= vectors. I don't current support all the extensions that agrep/ocamlagrep supports, and will definitely not match = the performance: OCaml+C vs pure OCaml.

The documentation for the library can be found here.

It's not on opam yet, but there is a PR.

Expect more bitvector, Levenshtein distance, and fuzzy search shenanigans i= n the near future!

findlib-1.9.2

Gerd Stolpmann announced

findlib-1.9.2 is out. The only change is a fix for a build problem regarding the OCaml-5 trunk.

For manual, download, manuals, etc. see here:

http://proje= cts.camlcity.org/projects/findlib.html

An updated OPAM package will follow soon.

Signals and Threads on Memory Management

gasche said

I just had an excellent time listening to the last Signals and Threads podc= ast episode on Memory Management, with Stephen Dolan (@stedolan) as the guest and Yaron Minsky (@Yaron_Minsky) as the host discussing:

  • memory management in programming languages in general
  • memory management in OCaml
  • ongoing research by Stephen and Leo White (@lpw25) on memory-management= and data-representation features for OCaml (unboxed types, local values on= the stack).

The link https= ://signalsandthreads.com/memory-management/ contains both the audio and= a full text transcript.

I would warmly recommend giving it a try if you are interested in programmi= ng language implementation. There is new stuff to learn for everyone, and I also liked the presentation of the parts= I was already familiar with.

Yaron Minsky replied

Thanks for the nice words. Interviewing Dolan was fun and I learned a lot.

Local types are still very new: we're hoping to start rolling it out in a l= imited way internally in the next few weeks, and I expect we'll learn a lot from that. We plan on discussing it m= ore publicly as well, but that's a bit farther out. In the meantime, the source is all available on Github if anyone wants to poke around.

The approach to stack allocation is different and simpler than the one in R= ust, as Dolan explained in the episode. Instead of having implicit, polymorphic lifetime variables, function argume= nts can be marked as local, which prevents the function in question from stashing a reference to those types. This avo= ids the need to deal with higher-rank polymorphism, which Rust's lifetime approach requires, and as a result make= s inference work nicely.

Another neat trick is that you can create functions that can allocate on th= e parent stack frame (by dint of not having their own stack frame). This lets you build smart constructors for s= tack-allocated values.

Local types are apparently an example of modal types, though I don't really= know enough type theory to have a deep sense of what that means. But it's a powerful thing, and local types appear= to be useful for more than just stack allocation, as we're just starting to discover.

Yaron Minsky then added

And, I suppose as I should always mention: we're looking for people to come= and work with Dolan and Leo and the rest of the team on this kind of stuff.

More here:

https://blog.j= anestreet.com/applied-PL-research/

OCaml 4.14.0, first alpha release

octachron announced

The set of new features for the future version 4.14.0 of OCaml has been (fi= nally) stabilized, three months after the release of OCaml 4.13.1. I am thus happy to announce the first alpha releas= e for OCaml 4.14.0 .

This alpha version is here to help fellow hackers join us early in our bug = hunting and opam ecosystem fixing fun (see below for the installation instructions). You can see the progress on this = front at https://g= ithub.com/ocaml/opam-repository/issues/20501 .

If you find any bugs, please report them here:

https://github.com/ocaml/= ocaml/issues

Most major OCaml developer tools are already supported with this alpha (fro= m odoc to merlin), thus I expect us to switch to beta releases in the beginning of February. The full release is e= xpected to happen in late February.

This early release will give us time to focus on the release of OCaml 5.0.

If you are interested by the list of new features and the ongoing list of b= ug fixes, the updated change log for OCaml 4.14.0 is available at:

https://github= .com/ocaml/ocaml/blob/4.14/Changes

Happy hacking, Florian Angeletti for the OCaml team.

Installation instructions

The base compiler can be installed as an opam switch with the following com= mands

opam update
opam switch create 4.14.0~alpha1 --repositories=3Ddefault,beta=3Dgit+https:=
//github.com/ocaml/ocaml-beta-repository.git

With opam 2.1, the previous command line can be simplified to

opam update
opam switch create 4.14.0~alpha1

If you want to tweak the configuration of the compiler, you can switch to t= he option variant with:

opam update
opam switch create <switch_name> --packages=3Docaml-variants.4.14.0~a=
lpha1+options,<option_list>
--repositories=3Ddefault,beta=3Dgit+https://github.com/ocaml/ocaml-beta-rep=
ository.git

or with opam 2.1:

opam update
opam switch create <switch_name> ocaml-variants.4.14.0~alpha1+options=
 <option_list>

where <option_list> is a comma separated list of ocaml-o= ption-* packages. For instance, for a flambda and no-flat-float-array switch:

opam switch create 4.14.0~alpha1+flambda+nffa ocaml-variants.4.14.0~alpha1+=
options ocaml-option-flambda
ocaml-option-no-flat-float-array

All available options can be listed with opam search ocaml-option.

If you want to test this version, it is advised to install the alpha opam r= epository

https://gi= thub.com/kit-ty-kate/opam-alpha-repository

with

opam repo add alpha git://github.com/kit-ty-kate/opam-alpha-repository.git

This alpha repository contains various fixes in the process of being upstre= amed.

The source code for the alpha is also available at these addresses:

A brief survey for Learn-OCaml Community

Erik Martin-Dorel announced

[This post is just a follow-up of an earlier message on caml-list, intended to reach more learn-ocaml instructors, so you can ignore this one if you already replied!]

The OCaml Software Foundation is developing the teaching platform Learn-OCa= ml that provides auto-graded exercises for OCaml, and was initially authored by OCamlPro for the OCaml MOOC: https://ocaml-sf.org/learn-ocaml.

The platform is free software and easy to deploy; this is great, but as a r= esult we keep learning of users/deployments that we had no idea of. We would be interested in having = a better view of our user-base.

If you use Learn-OCaml as a teacher, could you fill this Evento survey to let us know? (the survey will be closed on 2022-02-07)

=E2=86=92 It contains these questions:

  • Where are you using Learn-OCaml? (in which university (a specific cours= e?), which company, online community or=E2=80=A6?)
  • Would you like to see your university/company added in github.com/ocaml-sf/learn= -ocaml-places?
  • How many students/learners use your deployment in a year?

And just to recall, a few links:

Blog post: Js_of_ocaml, a bundle size study

Javier Ch=C3=A1varri announced

Hi all, I hope your Monday is going great. :slight_smile:

I wanted to analyze bundle size performance in Js_of_ocaml, so I rewrote an= existing ReScript web app to compare both outputs.

Here is the blog post with all the data, conclusions, and takeaways:

h= ttps://www.javierchavarri.com/js_of_ocaml-bundle-size-study/

It has been a very interesting experiment, that helped me learn more about = Js_of_ocaml and the way it generates JavaScript code, and also improve some small things along the way in the li= braries I was using for the project.

The conclusions, while maybe already known by others, are also quite exciti= ng to me, as the experiment confirms my suspicion that Js_of_ocaml bundle size scales just fine as applications get= more complex, so it is suitable for a quite significant number of real world scenarios.

I hope you find it interesting and exciting as well. Please share any feedb= ack you might have! Or any questions if anything is unclear.

Old CWN

If you happen to miss a CWN, you can send me a message and I'll mail it to you, or go take a loo= k at the archive or the <= a href=3D"https://alan.petitepomme.net/cwn/cwn.rss">RSS feed of the archive= s.

If you also wish to receive it every week by mail, you may subscribe online.

--=-=-=--