cortopolis (@cortfritz) header
cortopolis (@cortfritz) profile picture

I like you.

Los Ángeles, CA
Joined November 2007
Photo by cortopolis (@cortfritz)Photo by cortopolis (@cortfritz)Photo by cortopolis (@cortfritz)Photo by cortopolis (@cortfritz)Photo by cortopolis (@cortfritz)Photo by cortopolis (@cortfritz)Photo by cortopolis (@cortfritz)Photo by cortopolis (@cortfritz)Photo by cortopolis (@cortfritz)Photo by cortopolis (@cortfritz)
cortopolis retweeted
Ok, this is neat! Someone reported a bug that Elixir's Task.ignore/1 could leave messages in the caller's inbox. Reproducing it was tricky, out of 1.2M attempts, it only leaked 52 times: github.com/elixir-lang/elixi… Therefore, to consistently "reproduce" the issue, I wrote a property in Lynx (@leanprover + @elixirlang) that Task.ignore/1 should not not leak messages: github.com/josevalim/lynx/bl… Of course, we could not prove this property to be true, because there was indeed a bug! And once we fixed the bug, the proof validated, showing that Task.ignore/1 no longer leave trailing messages in the scenarios dictated by the property. Hooray!
9
34
1
435
15,468
cortopolis retweeted
I'm writing a book: Native Mobile Apps With Elixir. From your first screen to a production app with Mob, the framework that runs the BEAM on your phone. Register for early access: forms.gle/ksjRXyEqNBmFwLhn6 #ElixirLang #MyElixirStatus
1
16
76
1,834
cortopolis retweeted
I have a branch with various performance improvements to the Elixir version, focused on specifically the websocket side of things. I didn't spend much time on the rest. The load generation code was flawed in overload scenarios because any socket that had an issue just stayed disconnected forever, so I assume no benchmarks were run in this fashion prior. Now those reconnect on disconnect and continue sending traffic (a more realistic scenario). Most relevant finding: In an overload situation, the rust implementation delivers a whopping 1% of messages to all connected clients, and the Elixir implementation delivers 100% of messages to all clients, applying natural backpressure to writes. Speed is cool. Rust is fast. Speed is not even close to the most important thing when building real applications.
I've had agents implement and optimize the Campfire web app in Elixir, Go, and Rust. Yes, Ruby is the slowest. I didn't care about that when the pay-off was huge in terms of productivity and developer joy. But if you're no longer reading the code? github.com/basecamp/once-cam…
Readers added context they thought people might want to know
The shown benchmarks use non-equivalent implementations: Elixir routes all DB queries through a single GenServer with Redis for jobs (retained from Rails), while Rust uses in-process queues, omits CSRF tags/fields, and applies other caching changes. github.com/basecamp/once-… raw.githubusercontent.com/basecamp/once-… github.com/basecamp/once-… github.com/basecamp/once-… x.com/zachsdaniel1/s…
26
64
19
596
34,426
At this point the only acceptable tech stack IMO is Elixir for web and Rust for everything else. Give me 1 good reason to still use a JS framework (besides extremely simple marketing/portfolio websites)
118
10
6
354
86,981
I’m leaving Obsidian. I’m the founder of @killswitch_app, and it’s time I used my own product as a daily driver for notes. I pointed Claude Cowork at the markdown vault through the Killswitch connector. Subfolders became notebooks. Where that didn’t make sense, it made notes. Root directories became folders. Tags for the deeper stuff.
3
2
16
1,330
cortopolis retweeted
I've tried to get Final Draft to let me use a variety format for the better part of a year. And then I discover @scriptolive just does it out the box
1
2
3
178
cortopolis retweeted
Shipped my first Rust crate today. It lets Rustler NIFs emit structured events and lets Elixir select only what it needs with Erlang-style match specs. I used it in OXC/Vize selectors, so Volt can ask the parser for imports/assets/workers/etc. instead of returning whole ASTs and walking them in Elixir. More Elixir → Rust tools soon. crates.io/crates/rustler_mat…
2
7
46
1,891
cortopolis retweeted
This has been my experience. For example, I just setup a supervisor tree to stream chunks of LLM responses into a buffer in a server process. It fans that out to LiveView so users can also see it stream onto screen. Only when the buffer fills does it commit to Postgres. If it crashes, the message disappear from everybody’s screen and then it retries.
Replying to @bradgessler
I had the same experience this week. Chose elixir / phoenix for the performance but wanted the same style as Ruby on Rails for the AI efficiency. It’s been as great as expected with the addition of AI understanding LiveView much better than Turbo.
2
18
3,356
my favorite scam opener yet
3
61
cortopolis retweeted
We just launched a massive update for Tidewave, so expect videos and screenshots over the next days. To get us started: UI variants! Ask your coding agent to build different versions of a page or a UI component and Tidewave helps you pick and improve your favorite!
3
23
2
154
9,840
cortopolis retweeted
The TurbineOne spinout RADD emerged from stealth, with a promise to fill the gap between radars and RF-based drone detection with highly portable, soldier-borne acoustic sensing tech. tectonicdefense.com/exclusiv…
4
1
17
1,275
cortopolis retweeted
It’s fascinating how - Erlang was built for telephony, - which made it amazing for internet apps - which led to creating Elixir - which got an S-tier web framework - and now Elixir is killing the agent space That’s great engineering
elixir >>> for building agents few understand this
15
52
6
781
83,903
What they might have also noted is that, according to the August ‘25 arxiv 2508.09101 LLMs generate Elixir with shockingly more efficacy than any other language.
OpenAI published a repo with the code to orchestrate AI agents built primarily with Elixir (96.1%): github.com/openai/symphony. While explaining why they chose Elixir, they say that - It is great for supervising long-running processes - It has an active ecosystem of tools and libraries - It supports hot code reloading without stopping actively running subagents, which is very useful during development. Amazing news for the Elixir community; I hope even more people will appreciate how amazing Elixir is for agentic AI systems. #myelixirstatus
76
cortopolis retweeted
guys will pay $20/mo for onlyfans but not claude. brother you’re subscribing to the wrong model
280
1,358
132
16,334
600,125
Man, I love @elixirlang. The deeper I get into the ecosystem the happier I become. It's so simple and so powerful. People are really sleeping on it, I think.
11
14
167
5,205
cortopolis retweeted
👀👀👀 In a Tidewave near you... If you're on Tidewave's Discord, you already know this. ;)
2
3
39
5,283