top | item 40310882

(no title)

el_oni | 1 year ago

I said python doesn't scale well and you say "it does if you use an escape hatch to a faster language"

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.

discuss

order

greenavocado|1 year ago

I went back and rewrote the systems in Python after learning more about how to manage memory more efficiently using common tools, methods, libraries