Jonatan Kłosko discusses how Elixir is expanding into Machine Learning with the Nx initiative. Despite its young age, Nx already simplifies production systems with ML models and GPU workflows. Livebook, a notebook platform, enhances Elixir’s strengths. To address concerns, Pythonx is introduced, embedding Python within Erlang VM for seamless interoperability. Examples demonstrate OCR using Python libraries. Python support in Livebook is in the works, allowing coexistence of Elixir and Python in the same notebook. Usage considerations are highlighted, emphasizing the need for careful implementation due to Python’s GIL. The article concludes with the introduction of Fine, a C++ library enhancing NIF development for Elixir.
https://dashbit.co/blog/running-python-in-elixir-its-fine