r/elixir • • 1d ago

Java Virtual Threads vs Elixir: Comparing Memory, CPU, Process Termination

https://www.youtube.com/watch?v=Z_8kVlVCC10
25 Upvotes

3 comments sorted by

1

u/Distinct_Meringue_76 4h ago

I love erlang. I know it's not very fast but I didn't expect it to be this slow compared to Java. For small teams, I'll probably still take erlang over Java anyday. With erlang, I don't need docker, kubernetes and friends. It has nano services built in. But for large teams, static typing is just a huge help.

1

u/blocking-io 3h ago

Static typing is just a huge help

Elixir is already closing the gap with set-theoretic type system 

1

u/agentoutlier 17h ago edited 17h ago

Just fast forward to about 10:30 and realize all the theory in  the world on your side is great but if you can’t produce it’s just not very strong. There are systems with even stronger safety nets and possibly better concurrency than Erlang but if it’s slow as shit it’s a hard sell. It’s even harder with AI since they can code around a lot of these issues.

Then the use cases… every x to y rewrite always ends up faster but I have doubts if it really is the language.