"Ideas are cheap; execution is everything."
If you consider this carefully, you will realize that it's not just a way to be grumpy and yell at people to work harder. In fact, it's very encouraging.
You don't have to be brilliant. Just pick an idea and get to work on it.
Run the same compiler ten billion times on ten billion machines. You'll get some corrupted binaries.
Therefore, compilers are nondeterministic.
So if you use a compiler, you're not a real engineer. Write the machine code by hand or get out.
@olivertraldi Does that amount to denying some formulation of the principle of sufficient reason? I would assume that the PSR would rule out "accidents" of that kind.
Come on. Your agents run all SQL queries through a single genserver, with all queries awaited via `https://t.co/If3EBaNIXD`. This is a moronic Elixir implementation. I've staid fairly agnostic on the whole "rewrite everything in rust" thing but if this is the Elixir that your agents are writing, I'd hate to be a rust expert looking at their rust.
https://t.co/HFmB01TuSP
The dragging on this guy is really unfair.
His whole point was about how well AI performs given certain languages. He may or may not have made that point well. I think he could have used the agent better.
That being said, asserting that he's shirking here is ludicrous.
@crertel I didn't do anything. I asked two frontier agents to make the most of Elixir and this is what they came up with. Please do send a PR to speed things up! But also realize that it's not exactly extra points for Elixir if frontier agents can't find the magic "go fast" switches.
A lot of the problems caused by agentic coding are just potentiated versions of the old problems.
"But with agentic coding, stuff blows up and nobody knows why!" โ because THAT never happened before, amirite?
@pristinemon@ZachSDaniel1 With full respect to that being his point, I have to wonder what it actually proves.
LLMs are intrinsically limited by their *worst case performance*.
@pristinemon@ZachSDaniel1 Is he, though? Because I write tons of Elixir using Claude Code and I have yet to see it do anything that obscene, even on a first pass. It makes errors but they're way more subtle than that.
I will not get pulled into PL wars on Twitter.
I will not get pulled into PL wars on Twitter.
I will not get pulled into PL wars on Twitter.
I will not get pulled into PL wars on Twitter.
I will not get pulled into PL wars on Twitter.
In programming, "speed" is not so simple to measure. There are a few measures you look at:
Concurrency: The number of things your system can handle at once.
Throughput: The actual number of requests served per second in real world conditions.
Latency: How long it takes for any one request under real world conditions to complete. This includes queueing delay.
Queueing Delay: How long a request has to wait at the front door before your system even starts processing it.
You typically are playing a balancing act between maximizing throughput and minimizing latency on any single server, while increasing number of servers (capacity) to account for actual load.
A system under load does not behave the same as a system with spare capacity. Raw speed doesn't save you under contention, because "just do the thing as fast as it can possibly be done" is just insufficient.
Instead, you have to write your code in such a way that any one given thing can "yield" to other things. If you don't, the requests you're working on finish quickly, but once all of your threads/processes are fully utilized, you have no way to handle more load without introducing queueing (which eventually becomes failures/timeouts) on callers.
This brings us to queueing delay. When the system is processing all of the data that it can, the callers have to all just sit there and either wait, retry or fail. If your system were able to accept more concurrent work, you can lower this queuing delay under heavy load. If you can't do that, you end up trading away too much of your goodput (requests that actually succeed within their deadline) in exchange for consistently low latency for the operations that you do handle.
When building systems at scale, the general guiding light is keeping the queue delay low, and keeping goodput as high as possible.
To do this, you accept as much work as the internal system can track (increasing memory usage typically), allowing latency to go up, in order to accept more concurrent traffic internally. You still need backpressure and load shedding, since no scheduler saves you from arrival rates that permanently exceed what you can serve, but within those bounds you keep goodput maximized.
For this to actually work, your internal schedulers need to be able to do something called "preemption". This is where any given operation cannot take an entire CPU core for longer than some given period of time, or for some amount of operations. A "preemptive scheduler" balances work fairly across all of the operations that are asking for CPU cycles. (Work stealing, where idle cores pull queued work from busy ones, helps too, but plenty of cooperative runtimes have that. Preemption is the key part.)
The BEAM is a powerhouse for this. It preempts processes by counting "reductions," so no process can hog a scheduler. Immutability and share-nothing processes make that preemption cheap and harmless: a process is never paused while holding a lock someone else needs, and every process has its own heap and garbage collector, so there are no global stop-the-world pauses. This allows BEAM applications to achieve maximal goodput, with very low failures due to queue delay, while spreading latency across all work fairly.
Without that preemption, you would see a huge spread among the latency of your system. i.e some requests happening practically immediately, while other requests take pathologically large amounts of time to complete.
I get that people want programming language not to matter these days, but at a very minimum you cannot escape the limitations of your runtime. The BEAM's runtime is built for operating at scale, and will always be smoked on benchmarks for tight loop operations where there is no resource contention.
#ElixirLang
train onโ. That increment will be painfully slow compared to the current size of the data set, but truly novel and original work will have an outsized impact.
Pretty soon weโre gonna hit a limit where AI produces stuff roughly as well as a reasonably-competent human across the board.
Once we hit that limit, AI improvement slows way down. Because at that point, the bottleneck moves from โmore trainingโ to โhumans produce more stuff to
I really want this to be true, so definitely biased.
...but I have found this to be true in my own case. Once I wrote up a robust agent contract for my codebase my productivity on my personal projects went through the roof. Not just velocity, but because bigger problems (cont)
Been noticing this more and more:
AI gives talented people insane leverage when they work for themselves.
Put them inside a big company, and somehow theyโre still stuck moving at company speed.
Thatโs why the best talent isnโt just switching companies anymore.
Theyโre leaving them.
were now in reach. Stuff I wouldn't have even tried to tackle as a solo dev was now doable, which meant I could do more. So there's a second-order acceleration in play where the speed of code production enables you to take on bigger projects which is *also* an accelerant, (cont)