Re:What I mean when I say that machine learning in Elixir is...
by greenavocado on Thursday May 09, 2024 @10:28PM
(#40314953)
I went back and rewrote the systems in Python after learning more about how to manage memory more efficiently using common tools, methods, libraries
Sure. Writing C++ that utilises your resources effectively then writing bindings so you can use that in python is great. But with elixir, if I've got 8 cores and 8 processes, those 8 processes run in parallel.
If I want raw cpu speed I can write something in rust, c, cpp or zig and then call it still using elixir semantics.
Not to mention that with Nx you can write elixir code that compiles to run on the GPU. Without writing any bindings.