# Using a bigarray as a shared memory for parallel programming

**URL:** <https://discuss.ocaml.org/t/using-a-bigarray-as-a-shared-memory-for-parallel-programming/4841>\
**Category:** Community\
**Tags:** parallel, shm\
**Created:** [December 10, 2019, 4:41am UTC](https://discuss.ocaml.org/t/using-a-bigarray-as-a-shared-memory-for-parallel-programming/4841 "2019-12-10T04:41:53Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![samwgoldman](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/samwgoldman/32/1762_2.png) [@samwgoldman](https://discuss.ocaml.org/u/samwgoldman)\
**Post date:** [December 18, 2019, 7:03pm UTC](https://discuss.ocaml.org/t/using-a-bigarray-as-a-shared-memory-for-parallel-programming/4841/19 "2019-12-18T19:03:17Z")

</div>

It should be fairly straightforward to take [the code from Flow](https://github.com/facebook/flow/blob/696d4fc4a2961e97b5dcc195290da7a19a481edc/src/heap/hh_shared.c#L1084-L1166) and update the hack-parallel repo. We don’t maintain that library ourselves, but if I find a spare moment I might do it myself. Maybe during the holidays.

---

_[View the full topic](https://discuss.ocaml.org/t/using-a-bigarray-as-a-shared-memory-for-parallel-programming/4841)._
