7 ms·
Elixir, with types
by aloukissas 1y ago
Elixir, with types
- sarchertech 1y agoThat 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.
- zwnow 1y agoThis one i can get behind.
- pmarreck 1y agoI 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
- agos 1y agoyeah, 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
- out_of_protocol 1y agoMy 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?
- Degorath 1y agoSwift on Linux has been a fairly horrible experience, but the language looks promising.
- sarchertech 1y agoLast I checked Crystal’s compile time was too slow for me to deal with for anything beyond toy projects.