# In theory, what exactly is difference between MCMCThreads and MCMCDistributed?

**URL:** <https://discourse.julialang.org/t/in-theory-what-exactly-is-difference-between-mcmcthreads-and-mcmcdistributed/100284>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [June 13, 2023, 2:15pm UTC](https://discourse.julialang.org/t/in-theory-what-exactly-is-difference-between-mcmcthreads-and-mcmcdistributed/100284 "2023-06-13T14:15:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sahil\_Khan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sahil_khan/32/47573_2.png) [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Post date:** [June 13, 2023, 2:15pm UTC](https://discourse.julialang.org/t/in-theory-what-exactly-is-difference-between-mcmcthreads-and-mcmcdistributed/100284/1 "2023-06-13T14:15:45Z")

</div>

Can someone explain MCMCThreads and MCMCDistributed?

---

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [June 13, 2023, 2:30pm UTC](https://discourse.julialang.org/t/in-theory-what-exactly-is-difference-between-mcmcthreads-and-mcmcdistributed/100284/2 "2023-06-13T14:30:08Z")

</div>

Probably the same difference as the one between multithreading and distributed computing?

See [Parallel Computing · The Julia Language](https://docs.julialang.org/en/v1/manual/parallel-computing/) for a brief explanation. Essentially, threads share memory but processes don’t
