@carllerchei
iAccount based inUnited States
About this account
- Account based in
- United States
- Connected via
- United States App Store
Account-level information from X, not a live location or the device used for a specific post.
Toasy (ORM for Rust) v0.11 is out. A small release, but a lot more is in the pipeline. github.com/tokio-rs/toasty/r…
Carl Lerche retweeted
Disagree
just as high level languages help us code better - there's less to think about, it will be the same for AI. Why reach for ASM when you can use Rust - there's so much more that can go wrong. By this logic AI will also forego testing because they have so much intelligence to just reason through it.
I am also acutely aware that frameworks like Topcoat may only be relevant for 5 more years, give and take. I predict there will be far fewer “apps” vs just exposing data and actions to AI. 90% of my app interactions today I wish I could just go via ChatGPT instead.
Topcoat is pushing the boundary of server applications with Rust. Given the discussion falling out from @dhh's keynote, I thought I would write a bit about why I'm working on Topcoat and the cool features that were recently shipped: tokio.rs/blog/2026-09-24-top…
This is possible, but I am skeptical. Unless LLMs become cheaper and faster than running a compiler, a deterministic translation from higher-level abstraction to microcode will be the way. I could see a more efficient binary "language" for AI, but still with a compilation step.
This is my point! Everyone says AI agents work best with their language. This means that AI agents are equally good at generating code in any language. So, you might as well pick the programming language that gets you the fastest, tightest tail latency, lowest memory end product
Topcoat is pushing the boundary of server applications with Rust. Given the discussion falling out from @dhh's keynote, I thought I would write a bit about why I'm working on Topcoat and the cool features that were recently shipped: tokio.rs/blog/2026-09-24-top…
Carl Lerche retweeted
Topcoat v0.9, the batteries-included, full-stack Rust web framework, lets you push live updates from Rust straight to the browser with the live! view macro. Try it out now!
Carl Lerche retweeted
Critical high throughput services moving to Rust is going to save billions in CPU and memory costs, across the industry.
Come on @dhh. I know Rust is no Ruby, but the ugliest language ever created? There has to be uglier.
That is from Topcoat: github.com/tokio-rs/topcoat. Trying to capture some of the magic that I felt building apps with Rails, but with Rust (and really really fast).
Wait... did he actually say that in his keynote?
Scoop: @dhh will be using Rust to build web apps in 5 years. You heard it here first! 😅
This is what I tell Rust peeps too. String strings... str strs... CStr CStrs... OsStr OsStrs... and OsString OsStrings.
Replying to @valigo
It’s actually very easy.
std::map maps.
std::flat_map flat maps.
std::unordered_map maps unorderedly.
No need to complicate things.
Other parts of my flow. Fire off large attempts at features, see what the LLM does, then discard it and fire off smaller change prompts to build up the abstractions needed for the full feature. Also, I repeatedly ask the LLM to reduce a patch size until it stops helping.
Replying to @timClicks
Same way I guarded against slop when accepting contributions in OSS projects. Focus on enforcing small, modular components and abstractions, relax on the details within each component. If the "slop" is contained, it can always be fixed later. LLMs are 100% making me go faster.
Carl Lerche retweeted
Replying to @timClicks
Same way I guarded against slop when accepting contributions in OSS projects. Focus on enforcing small, modular components and abstractions, relax on the details within each component. If the "slop" is contained, it can always be fixed later. LLMs are 100% making me go faster.