# \#multicore-ocaml

**URL:** https://discuss.ocaml.org/tag/multicore-ocaml/568.md

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

---

## [\[ANN\] Release of Saturn 1.0](https://discuss.ocaml.org/t/ann-release-of-saturn-1-0/15763)

<div class="topic-metadata">

**Author:** [@Lyrm](https://discuss.ocaml.org/u/Lyrm)\
**Replies:** 1\
**Last updated:** [December 6, 2024, 5:47pm UTC](https://discuss.ocaml.org/t/ann-release-of-saturn-1-0/15763 "2024-12-06T17:47:11Z")

</div>

I am thrilled to announce the release of Saturn 1.0! Saturn is a collection of concurrent-safe data structures designed for OCaml 5. These structures have been: thoroughly tested with amazing tools like STM (see this b…

---

## [Ocaml 5.x FFI differences from 4.14?](https://discuss.ocaml.org/t/ocaml-5-x-ffi-differences-from-4-14/13217)

<div class="topic-metadata">

**Author:** [@Chet\_Murthy](https://discuss.ocaml.org/u/Chet_Murthy)\
**Replies:** 7\
**Last updated:** [October 12, 2023, 5:51pm UTC](https://discuss.ocaml.org/t/ocaml-5-x-ffi-differences-from-4-14/13217 "2023-10-12T17:51:55Z")

</div>

Hi, I googled around a bit, and have been unable to find anything that describes the differences in the FFI between OCaml 4.14 and 5.0. I remember there was some discussion a while back about this, but don’t remember wh…

---

## [Is it safe to use a global hash table in an ocaml-5 parallel program?](https://discuss.ocaml.org/t/is-it-safe-to-use-a-global-hash-table-in-an-ocaml-5-parallel-program/11144)

<div class="topic-metadata">

**Author:** [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)\
**Replies:** 45\
**Last updated:** [June 11, 2023, 11:09am UTC](https://discuss.ocaml.org/t/is-it-safe-to-use-a-global-hash-table-in-an-ocaml-5-parallel-program/11144 "2023-06-11T11:09:06Z")

</div>

Especially when following the constraint: different threads (“domains” in ocaml-5 parlance) never use the same keys? I.e. each domain uses a set of keys which is not overlapping with any other domain’s set of keys. I l…

---

## [Use effect handlers like promises](https://discuss.ocaml.org/t/use-effect-handlers-like-promises/11683)

<div class="topic-metadata">

**Author:** [@dnuzhe](https://discuss.ocaml.org/u/dnuzhe)\
**Replies:** 1\
**Last updated:** [March 16, 2023, 3:45pm UTC](https://discuss.ocaml.org/t/use-effect-handlers-like-promises/11683 "2023-03-16T15:45:57Z")

</div>

hello! i have a main thread and i want to run some computations in parallel using fork effect handler and then i want to get all the answers in the main thread and merge them. I guess it’s similar with idea of promises …

---

## [C bindings under OCaml 5: protecting data structures](https://discuss.ocaml.org/t/c-bindings-under-ocaml-5-protecting-data-structures/11549)

<div class="topic-metadata">

**Author:** [@tbrk](https://discuss.ocaml.org/u/tbrk)\
**Replies:** 2\
**Last updated:** [March 4, 2023, 9:36pm UTC](https://discuss.ocaml.org/t/c-bindings-under-ocaml-5-protecting-data-structures/11549 "2023-03-04T21:36:29Z")

</div>

I was just reading the thread on the OCaml LLVM bindings and it reminded me of a question that I had for the Sundials/ML library, which provides an OCaml interface to the Sundials C library of numeric solvers. Like many…

---

## [Parallel performance of an OCaml program: ocaml-5.0.0 Vs 4.13.1](https://discuss.ocaml.org/t/parallel-performance-of-an-ocaml-program-ocaml-5-0-0-vs-4-13-1/11233)

<div class="topic-metadata">

**Author:** [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)\
**Replies:** 29\
**Last updated:** [January 31, 2023, 4:07am UTC](https://discuss.ocaml.org/t/parallel-performance-of-an-ocaml-program-ocaml-5-0-0-vs-4-13-1/11233 "2023-01-31T04:07:50Z")

</div>

I ran some test 5 times. I show the average +/- one standard deviation. I was running this program: GitHub - tsudalab/ACP4: AutoCorrelation of Pharmacophore Features The peak performance on this computer is reached …

---

## [No Domain.maximum\_domain\_count() in the stdlib](https://discuss.ocaml.org/t/no-domain-maximum-domain-count-in-the-stdlib/11173)

<div class="topic-metadata">

**Author:** [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)\
**Replies:** 35\
**Last updated:** [February 1, 2023, 12:06pm UTC](https://discuss.ocaml.org/t/no-domain-maximum-domain-count-in-the-stdlib/11173 "2023-02-01T12:06:33Z")

</div>

There is only Domain.recommended\_domain\_count. If I want to know the maximum number of domains that can be created, there is no programmatic way?

---

## [What is the semantic of Domain.self()?](https://discuss.ocaml.org/t/what-is-the-semantic-of-domain-self/11113)

<div class="topic-metadata">

**Author:** [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)\
**Replies:** 8\
**Last updated:** [January 13, 2023, 9:13am UTC](https://discuss.ocaml.org/t/what-is-the-semantic-of-domain-self/11113 "2023-01-13T09:13:39Z")

</div>

Hello, Does a sequential program has id 0? How do I even get the underlying integer? Do I really have to do this: let my\_id: int = Obj.magic (Domain.self ()) in Does Domain.spawn increments this value by 1? So, as …
