ocsigen/lwt
View on GitHub ↗ ★ 797 OCaml
OCaml promises and concurrent I/O
9 mentions on Hacker News by 8 people: 0 stories, 9 comments · first 2017-03-25 · latest 2024-08-13
20082026
-
…has had Lwt for concurrent IO for long enough that it is now being deprecated in favor of Eio[1]: https://github.com/ocsigen/lwt [1] https://github.com/ocaml-multicore/eio
comment by nequo · 2024-08-13 · in Go is my hammer, and everything is a nail -
…in 2016), and even before that there was the older syntax where you write `lwt` instead of `let`. https://github.com/ocsigen/lwt/commit/d28204984646042676570d...
comment by ackfoobar · 2022-01-12 · in From TypeScript to ReScript -
…much about ReScript and only have very basic exposure to OCAML, here is how you do await in it: https://github.com/ocsigen/lwt The `let* in` is a generic syntax for monads, it doesn't need a special one just for promise. This was in fact a…
comment by nsonha · 2022-01-12 · in From TypeScript to ReScript -
…Lwt, Dream's promise library, is itself getting ported to run on top of libuv: https://github.com/ocsigen/lwt/issues/813 libuv is, of course, the I/O library that powers Node, so it might be practical to run Dream as a native node module
comment by antron-prime · 2021-04-10 · in Dream – Tidy Web Framework for OCaml and ReasonML -
…then ocaml's cohttp [3] library has been available on mirage for quite some time now. [1] https://github.com/ocsigen/lwt/ [2] https://github.com/rgrinberg/opium [3] https://github.com/mirage/ocaml-cohttp/
comment by anuragsoni · 2021-01-25 · in The RustyHermit Unikernel -
OCaml has really good libraries for concurrency–e.g. check out https://github.com/ocsigen/lwt There is a GIL (like Node/Python) that means only one thread runs at any moment in time, but multiple threads can still be started. Lwt's Promise…
comment by yawaramin · 2020-08-02 · in OCaml for the Skeptical: OCaml in a Nutshell (2006) -
…2018: http://jobjo.github.io/2019/04/24/ocaml-has-some-new-shiny-s... It definitely has async: https://github.com/ocsigen/lwt It doesn't have units of measure but due to strong abstraction properties of modules we can fairly easily roll…
comment by yawaramin · 2020-06-13 · in The Early History of F# [pdf] -
…daemon and poll the answer concurrently. Ada, C++ and D would have been another great choices. [1] https://github.com/ocsigen/lwt
comment by ernst_klim · 2019-05-20 · in Linux distros without systemd -
There are several libraries for concurrency: - Lwt: https://github.com/ocsigen/lwt - Async https://realworldocaml.org/v1/en/html/concurrent-programming... However pulling these over more than 1 core is still a problem. OCaml 4.05.0 should…
comment by toolslive · 2017-03-25 · in Alpaca – Functional programming inspired by ML for the Erlang VM