# Mixing Crystal with Go and Exlixr

**URL:** <https://forum.crystal-lang.org/t/mixing-crystal-with-go-and-exlixr/8169>\
**Category:** News\
**Created:** [June 18, 2025, 5:53pm UTC](https://forum.crystal-lang.org/t/mixing-crystal-with-go-and-exlixr/8169 "2025-06-18T17:53:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jzakiya](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/jzakiya/32/278_2.png) [@jzakiya](https://forum.crystal-lang.org/u/jzakiya)\
**Post date:** [June 18, 2025, 5:53pm UTC](https://forum.crystal-lang.org/t/mixing-crystal-with-go-and-exlixr/8169/1 "2025-06-18T17:53:49Z")

</div>

I came across this article and thought it was an interesting use of Crystal.

> **[Calling Go from Elixir with a CNode (in Crystal!)](https://relistan.com/calling-go-from-elixir-with-a-cnode?utm_medium=email&utm_source=elixir-radar)**
>
> At Mozi, we needed to connect a new Elixir Phoenix LiveView app to an existing Go backend. This is how we did it. …

---

<div class="post-metadata">

**Author:** ![cloutiy](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/cloutiy/32/222_2.png) [@cloutiy](https://forum.crystal-lang.org/u/cloutiy)\
**Post date:** [June 21, 2025, 11:48pm UTC](https://forum.crystal-lang.org/t/mixing-crystal-with-go-and-exlixr/8169/2 "2025-06-21T23:48:38Z")

</div>

Completely lost.

---

<div class="post-metadata">

**Author:** ![kojix2](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/kojix2/32/1583_2.png) [@kojix2](https://forum.crystal-lang.org/u/kojix2)\
**Post date:** [June 22, 2025, 6:53am UTC](https://forum.crystal-lang.org/t/mixing-crystal-with-go-and-exlixr/8169/3 "2025-06-22T06:53:28Z")

</div>

The article introduces a system where a shared library written in Go is called from Crystal using the Erlang CNode mechanism.

Reading this, I became curious whether Go had overcome a known [limitation](https://forum.crystal-lang.org/t/embeddable-interoperable-with-ruby/4894/35) in Crystal — namely, that multiple shared libraries (such as `.so` files) written in Crystal cannot be loaded simultaneously in the same process.

However, after doing some research, I found that Go appears to have the same limitation.

> **[Reddit - The heart of the internet](https://www.reddit.com/r/programming/comments/1iebpxn/using_multiple_shared_libraries_with_go_is_no/)**
