#Elixir
7 notas · última:
Cross-App Communication with RPC in Elixir
How Gearflow connects two Phoenix apps over distributed Erlang RPC instead of HTTP, and the coupling trade-off they accepted to skip building an internal API.
Elixir's Secret Weapon
Explains Elixir's with special form as the fix for nested case statements when chaining dependent operations that each return a tagged {:ok, _} / {:error, _} tuple.
Leverage Concurrency Efficiently When Managing Multiple Tasks in Elixir
Builds from Task.start and Task.async to Task.async_stream, showing why one process per item breaks at scale and how max_concurrency, ordering, and timeouts trade off against each other.
Did contexts kill Phoenix?
Argues that Phoenix's contexts layer, meant to enforce domain-driven boundaries, raised the barrier to entry enough to slow the framework's adoption relative to Rails.
Beyond Functional Programming with Elixir and Erlang
José Valim argues that functional programming was never the goal of the Erlang VM, only the means to fault-tolerant, concurrent, maintainable distributed systems.
Agent Jido: the Weather Agent example
A worked example shows how Jido, an Elixir agent framework, wires an LLM to a weather API tool through three layers: Actions, an AI Skill that renders prompts, and a signal-routed Agent process.
A Simple Example of Calling an Elixir Library from Gleam
Michael Lynch works through a minimal example of calling an Elixir CSV library from Gleam, wrapping @external attributes and converting Elixir's Enumerable into a Gleam List.
