zlacker

[parent] [thread] 7 comments
1. alouki+(OP)[view] [source] 2025-08-22 11:52:21
Elixir, with types
replies(5): >>sarche+02 >>zwnow+22 >>pmarre+O2 >>agos+B6 >>out_of+ym
2. sarche+02[view] [source] 2025-08-22 12:07:10
>>alouki+(OP)
That doesn’t exist yet. Also Elixir is in no way a replacement for Go.

It can’t match it for performance. There’s no mutable array, almost everything is a linked list, and message passing is the only way to share data.

I primarily use Elixir in my day job, but I just had to write high performance tool for data migration and I used Go for that.

3. zwnow+22[view] [source] 2025-08-22 12:07:13
>>alouki+(OP)
This one i can get behind.
4. pmarre+O2[view] [source] 2025-08-22 12:13:17
>>alouki+(OP)
I love Elixir but you cannot compile it into a single binary, it is massively concurrent but single-threaded slow, and deployment is still nontrivial.

And lists are slower than arrays, even if they provide functional guarantees (everything is a tradeoff…)

That said, pretty much everything else about it is amazing though IMHO and it has unique features you won’t find almost anywhere else

5. agos+B6[view] [source] 2025-08-22 12:35:10
>>alouki+(OP)
yeah, if the requirement is "makes it pretty straightforward to write reliable, highly concurrent services that don't rely on heavy multithreading", Elixir is a perfect match.

And even without types (which are coming and are looking good), Elixir's pattern matching is a thousands times better than the horror of Go error handling

6. out_of+ym[view] [source] 2025-08-22 13:58:58
>>alouki+(OP)
My vote is for Elixir as well, but it's not a competitor for multiple important reasons. There are some languages in that niche, although too small and immature, like Crystal, Nim. Still waiting for something better.

P.S. Swift, anyone?

replies(2): >>Degora+kP1 >>sarche+HV1
◧◩
7. Degora+kP1[view] [source] [discussion] 2025-08-22 22:05:01
>>out_of+ym
Swift on Linux has been a fairly horrible experience, but the language looks promising.
◧◩
8. sarche+HV1[view] [source] [discussion] 2025-08-22 22:42:28
>>out_of+ym
Last I checked Crystal’s compile time was too slow for me to deal with for anything beyond toy projects.
[go to top]