338 karma · joined Sep 18, 2015 (11y ago) · 118 submissions
comment 2mo ago · link · parent
Additionally, the features available in the BEAM and OTP mean the agents have built-in tools for many things that would require reaching for 3rd-party libraries or even additional services. This means less variability in design as the models will happily use all the language features human developers would have to learn about and understand over time to use effectively. Not that this isn't important, but I believe models do a better job steering you to obvious and optimal solutions with Elixir.
The new type system is only going to make it better.
comment 2mo ago · link · parent
If you want to build by hand, there is a Kino renderer to build your projects interactively in Livebook, which is actually surprisingly helpful for learning.
comment 9mo ago · link · parent
LLMs absolutely understand and write good Elixir. I've done complex OTP and distributed work in tandem with Sonnet/Opus and they understand it well and happily keep up. All the Elixir constructs distinct from ruby are well applied: pipes, multiple function clauses, pattern matching, etc.
I can say that anecdotally, CC/Codex are significantly more accurate and faster working with our 250K lines of Elixir than our 25K lines of JS (though not typescript).
comment 9mo ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
So you aren’t still learning foundational concepts or how to think about problems, you are using it as a translation tool. Very different, in my opinion.
comment 1y ago · link · parent
And Elixir is strongly typed by most definitions. Perhaps you mean static?
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
Elixir is gaining set theoretic type system, so you are showing up at the right time. https://hexdocs.pm/elixir/main/gradual-set-theoretic-types.h...
comment 1y ago · link · parent
> The network saturation is just a necessary cost of running such a massive cluster.
I think this actually answers it perfectly.
1. If you are running 1K distributed nodes, you have to understand that means you have some overhead for running such a large cluster. No one is hand waving this away, it's just being acknowledged that this level of complexity has a cost.
2. If heartbeats are almost 50% of your pps, you are trying to use 1Gbe to run a 1K-node cluster. No one would do this in production and no one is claiming you should.
3. If your system can tolerate it, change the heartbeat interval to whatever you want.
4. Don't use distributed Erlang if you don't have to. Erlang/Elixir/Gleam work perfectly fine for non-distributed workloads as do most languages that can't distribute in the first place. But if you do need a distributed system, you are unlikely to find a better way to do it than the BEAM.
Basically, it seems you are taking issue with something that 1) is that way because that's how things work, and 2) is not how anyone would actually use it.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
To each their own, I suppose.
comment 2y ago · link · parent