Skip to content
#

OCaml

ocaml logo

OCaml is a general purpose industrial-strength programming language with an emphasis on expressiveness and safety, It is supporting functional, imperative and object-oriented styles.

Here are 2,049 public repositories matching this topic...

ocaml
jeremiedimino
jeremiedimino commented May 7, 2020

Dune systematically buffers the output of commands so that their output is not mixed up during parallel builds. However, this is not ideal for interactive commands that require direct access to the terminal.

Currently, the only workaround is to run dune with -j 1 --no-buffer which is not ideal since it completely disables parallelism and also require a specific dune invocation.

Another ide

aantron
aantron commented Jul 5, 2021

This might be a good way to reconcile Dream, Piaf, and the rest of the "ecosystem" for esy users.

The branch can probably be maintained by constantly cherry-picking a single commit that adds esy.json and subtracts src/vendor. This could even be done in CI in the long term, but probably we'd rather get rid of src/vendor by actually upstreaming or releasing the protocol projects, instead.

tcoopman
tcoopman commented Feb 11, 2022

Running the following piece of code with js_of_ocaml crashes the node environment (it generates a too large string, and memory consumption grows unbounded). Running the same code as a binary directly doesn't have this behavior.

let () =
  let ob = Buffer.create 2096 in
  let oc = open_out "test-file" in
  let seq =
    Seq.unfold
      (fun b ->
        if b < 100 * 100 * 100 

Created by Xavier Leroy

Released 1996

Latest release 5 months ago

Repository
ocaml/ocaml
Website
ocaml.org
Wikipedia
Wikipedia