# \#binary

**URL:** https://discuss.ocaml.org/tag/binary/574.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [\[ANN\] bstr, slice & bin (bigstring, encoders & decoders for binary formats)](https://discuss.ocaml.org/t/ann-bstr-slice-bin-bigstring-encoders-decoders-for-binary-formats/18509)

<div class="topic-metadata">

**Author:** [@dinosaure](https://discuss.ocaml.org/u/dinosaure)\
**Replies:** 4\
**Last updated:** [September 6, 2026, 11:29am UTC](https://discuss.ocaml.org/t/ann-bstr-slice-bin-bigstring-encoders-decoders-for-binary-formats/18509 "2026-09-06T11:29:18Z")

</div>

I am delighted to announce the release of bstr.0.1.0, as well as bin.0.1.0 and slice.0.1.0. These releases are the result of a synthetic work between several libraries, aimed at bringing together everything that might be…

---

## [\[ANN\] intel\_hex.0.4](https://discuss.ocaml.org/t/ann-intel-hex-0-4/18456)

<div class="topic-metadata">

**Author:** [@dx3mod](https://discuss.ocaml.org/u/dx3mod)\
**Replies:** 1\
**Last updated:** [August 19, 2026, 7:08am UTC](https://discuss.ocaml.org/t/ann-intel-hex-0-4/18456 "2026-08-19T07:08:44Z")

</div>

is new pretty logo... Yo! I am happy to announce the new release of Intel\_hex library. It is a Intel HEX manipulation library for parsing and generating Intel HEX (also known as IHEX) objects. This format is common…

---

## [\[ANN\] Bytream 0.1 – first release](https://discuss.ocaml.org/t/ann-bytream-0-1-first-release/18445)

<div class="topic-metadata">

**Author:** [@dx3mod](https://discuss.ocaml.org/u/dx3mod)\
**Replies:** 4\
**Last updated:** [August 11, 2026, 9:59am UTC](https://discuss.ocaml.org/t/ann-bytream-0-1-first-release/18445 "2026-08-11T09:59:52Z")

</div>

Yo! I am happy to announce the first public release of Bytream, a library for streaming bytes and crunching them. This library contains angostic I/O runtime mechanisms for organization byte streams processing for write…

---

## [Print a rational number in binary format](https://discuss.ocaml.org/t/print-a-rational-number-in-binary-format/13643)

<div class="topic-metadata">

**Author:** [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)\
**Replies:** 2\
**Last updated:** [December 15, 2023, 9:15am UTC](https://discuss.ocaml.org/t/print-a-rational-number-in-binary-format/13643 "2023-12-15T09:15:45Z")

</div>

I have a number x such that 0 \<= x \< 1.0. I would like to print x in binary format. e.g. x=1/1024 prints “0.0000000001” x=1/2 prints “0.1” Am I right that the stdlib’s Printf “only” supports octal, decimal and hexade…

---

## [Lwt\_ppx binary footprint](https://discuss.ocaml.org/t/lwt-ppx-binary-footprint/11818)

<div class="topic-metadata">

**Author:** [@mro](https://discuss.ocaml.org/u/mro)\
**Replies:** 3\
**Last updated:** [March 29, 2023, 9:24am UTC](https://discuss.ocaml.org/t/lwt-ppx-binary-footprint/11818 "2023-03-29T09:24:41Z")

</div>

just adding the dependency lwt\_ppx makes the according stripped amd64 binary grow from 12MB to 21MB. Am I holding it wrong or is that normal? I am surprised syntactic sugar adds to the binary size. I still suffer a trau…

---

## [\[BLOG\] The Growth of the OCaml (Binary) Distribution](https://discuss.ocaml.org/t/blog-the-growth-of-the-ocaml-binary-distribution/11202)

<div class="topic-metadata">

**Author:** [@lefessan](https://discuss.ocaml.org/u/lefessan)\
**Replies:** 9\
**Last updated:** [February 7, 2023, 6:00pm UTC](https://discuss.ocaml.org/t/blog-the-growth-of-the-ocaml-binary-distribution/11202 "2023-02-07T18:00:31Z")

</div>

Here is a blog post that I wrote recently, about the increase of the size of the OCaml Distribution over the recent years: Hope it can be interesting to read ! – Fabrice, OCamlPro
