Full markdown reading view
The best argument for Rust in 2026 is not memory safety or performance. It is that AI writes better
The best argument for Rust in 2026 is not memory safety or performance. It is that AI writes better
来源: https://x.com/CtrlAltDwayne/status/2032388050584736157
缓存文件: /mnt/ramdisk/test/@CtrlAltDwayne_status_2032388050584736157.session.json
抓取时间: 2026-03-13T17:27:16.556Z
正文
作者: @CtrlAltDwayne (Dwayne)
时间: Fri Mar 13 09:27:25 +0000 2026
链接: https://x.com/CtrlAltDwayne/status/2032388050584736157
The best argument for Rust in 2026 is not memory safety or performance. It is that AI writes better Rust than it writes C++. The compiler feedback loop is so tight that models self-correct in real time. Every error message is a free training signal. Rust was accidentally designed for AI-assisted development 10 years before anyone knew that mattered.
评论 (70)
评论 点赞 62
作者: @cachebagged (akrm)
时间: Fri Mar 13 11:59:53 +0000 2026
链接: https://x.com/cachebagged/status/2032426418022351356
@CtrlAltDwayne people keep conflating rust that compiles with correct, proper, idiomatic rust. you can still write shitty rust code even if everything compiles and clippy passes.
this is a really stupid take.
评论 点赞 54
作者: @CtrlAltDwayne (Dwayne)
时间: Fri Mar 13 13:04:24 +0000 2026
链接: https://x.com/CtrlAltDwayne/status/2032442652961235441
@onlyfastcode Yes, the borrow checker is restrictive. That’s the feature. Constraints are what make AI code generation work. An AI with infinite freedom writes infinite garbage. An AI with tight guardrails converges fast.
评论 点赞 51
作者: @CtrlAltDwayne (Dwayne)
时间: Fri Mar 13 13:00:42 +0000 2026
链接: https://x.com/CtrlAltDwayne/status/2032441723297935661
@cachebagged My tweet says the compiler feedback loop helps AI self-correct. Your reply is that compiling doesn’t mean the code is good. You literally proved my point and called it stupid in the same breath.
评论 点赞 17
作者: @debamitro (DebamitroChakraborti)
时间: Fri Mar 13 13:52:05 +0000 2026
链接: https://x.com/debamitro/status/2032454655888769109
@CtrlAltDwayne Exactly what I was feeling. I have been trying to use Rust with AI coding tools for almost a year. And in the last three or four months it is going really well. I guess the agents learned to take the correct hints from the error messages.
评论 点赞 14
作者: @onlyfastcode (Luke | onlyfastcode.com)
时间: Fri Mar 13 12:22:22 +0000 2026
链接: https://x.com/onlyfastcode/status/2032432074934686185
@CtrlAltDwayne The set of all correct, memory-safe programs is larger than the set of correct, memory-safe programs conforming to Rust’s borrow checker restrictions. So no, not really.
评论 点赞 11
作者: @CodveAi (Codve.ai)
时间: Fri Mar 13 09:35:10 +0000 2026
链接: https://x.com/CodveAi/status/2032389998297927706
@CtrlAltDwayne hot take but its actually c++ that benefits more from ai. rust forces you to think, c++ lets you get away with bad code - which is exactly where ai fills the gap. the chaos needs structure.
评论 点赞 9
作者: @HeinrichKuttler (heiner)
时间: Fri Mar 13 16:23:15 +0000 2026
链接: https://x.com/HeinrichKuttler/status/2032492698842882485
@CtrlAltDwayne Rust is great for current AI.
评论 点赞 6
作者: @CtrlAltDwayne (Dwayne)
时间: Fri Mar 13 14:12:14 +0000 2026
链接: https://x.com/CtrlAltDwayne/status/2032459724420264285
@debamitro Things really turned a corner the past few months with AI coding right across the board, especially noticeable with languages like Rust though.
评论 点赞 6
作者: @ImNikhil117 (Nikhil Sharma)
时间: Fri Mar 13 11:54:44 +0000 2026
链接: https://x.com/ImNikhil117/status/2032425122427208046
@CtrlAltDwayne same pattern with TypeScript. strict types give the model something to self-correct against. the looser the language, the worse AI output gets
评论 点赞 3
作者: @alkimiadev (alkimiadev)
时间: Fri Mar 13 13:04:40 +0000 2026
链接: https://x.com/alkimiadev/status/2032442722577953040
Yeah most models today are pretty decent rust devs. Depending on the scope they’re also decent c/c++ devs but building c/c++ projects, especially with lots of dependencies, is a nightmare. One c++ project I recently forked, an embedded graph db, took ~20 minutes to compile. So I ended up just using ffi and then rust for my actual project code.
That said, they’ll do sneaky stuff sometimes and just because rust compiles that doesn’t mean it is good. It doesn’t stop silly mocks(look for comments like “in a real system”), hard coded magic params, and so on. There are tons of “code smell” type issues one needs to watch out for. The good news is the majority of the low level ones are caught by default and regular code reviews will usually catch the rest. Going too far without full code review with LLMs is a mistake imho.
评论 点赞 3
作者: @picosaurus (Prototype)
时间: Fri Mar 13 10:21:33 +0000 2026
链接: https://x.com/picosaurus/status/2032401670194278720
@CtrlAltDwayne 🎯 this is a key consideration for me when selecting a language now. It’s basically like when you would select a language for a project based on the strengths of the dev team.
评论 点赞 2
作者: @tuanhaih2u (Mai Tuan Hai | Baron Heritage)
时间: Fri Mar 13 14:35:42 +0000 2026
链接: https://x.com/tuanhaih2u/status/2032465629182300249
@CtrlAltDwayne A lot of the advantage may come from feedback density.
Languages and toolchains that make errors legible and correction fast become much more valuable in an AI-assisted workflow.
评论 点赞 2
作者: @RequiemForTech (Requiem For Tech)
时间: Fri Mar 13 16:04:29 +0000 2026
链接: https://x.com/RequiemForTech/status/2032487975519425003
@CtrlAltDwayne does that mean the languages with the strictest compilers and most explicit type systems become the default AI coding languages? what does that mean for Python’s dominance?
评论 点赞 2
作者: @_unknown_summer (Unknown Summer)
时间: Fri Mar 13 14:39:28 +0000 2026
链接: https://x.com/_unknown_summer/status/2032466578311172262
With what i’ve been working on c99 seems better than rust and c++ is the worst. Try enforcing no internal allocations (it cant use the equivalent of Vec, clone etc… in c and you ban it from internal malloc). Force it to use measure-and-allocate style when appropriate and you can build crazy things that dont blow up in code complexity.
评论 点赞 2
作者: @PastNostalgic (BrandNew)
时间: Fri Mar 13 14:19:36 +0000 2026
链接: https://x.com/PastNostalgic/status/2032461581313781910
@CtrlAltDwayne This means that knowing C++ is now a more valuable skill for getting a job.
评论 点赞 1
作者: @miehrmantraut (Michael Ehrmantraut)
时间: Fri Mar 13 15:31:52 +0000 2026
链接: https://x.com/miehrmantraut/status/2032479764804719011
@CtrlAltDwayne https://t.co/pjCYJCfKOq
媒体链接:
评论 点赞 1
作者: @RealEpistates (Epistates)
时间: Fri Mar 13 16:53:24 +0000 2026
链接: https://x.com/RealEpistates/status/2032500286212763874
@CtrlAltDwayne We’re always ahead of the curve - https://t.co/9jmkH0R0lC If you are building tools to use with AI, choose the fastest MCP SDK available https://t.co/RQxRLc3MsN
评论 点赞 1
作者: @PlayingGodAGI (PGAGI)
时间: Fri Mar 13 11:54:20 +0000 2026
链接: https://x.com/PlayingGodAGI/status/2032425020174241935
@CtrlAltDwayne Rust’s compiler gives the models such clear error messages that they can actually self-correct faster than when writing C++.
评论 点赞 1
作者: @_mm_pause (_mm_pause())
时间: Fri Mar 13 13:37:12 +0000 2026
链接: https://x.com/_mm_pause/status/2032450910530527309
@CtrlAltDwayne so it just jumps to some local minimum idk. so what
评论 点赞 1
作者: @selimesper (Selim Esper)
时间: Fri Mar 13 14:20:17 +0000 2026
链接: https://x.com/selimesper/status/2032461751879385191
@CtrlAltDwayne I heard same thing going on with golang
评论 点赞 1
作者: @trevorlasn (Trevor I. Lasn)
时间: Fri Mar 13 16:37:24 +0000 2026
链接: https://x.com/trevorlasn/status/2032496257273630963
@CtrlAltDwayne the compiler as an AI training signal is such an underrated point. writing C++ with AI is a trust exercise, writing Rust with AI is a conversation
评论 点赞 1
作者: @raypope (raypope)
时间: Fri Mar 13 15:29:49 +0000 2026
链接: https://x.com/raypope/status/2032479249718722907
@CtrlAltDwayne Why the rust push? If AI is so great it should excel at C or even C++ your statement has no logical purpose other than to push rust. The sudden need for a thing in concert with an emerging technology is suspect.
评论 点赞 1
作者: @DeanoC (Deano Calver)
时间: Fri Mar 13 14:54:38 +0000 2026
链接: https://x.com/DeanoC/status/2032470397661176126
@CtrlAltDwayne I find AI does well on Zig as well, likely due to similar reasons. Even with a much smaller training set, it (like Rust) provides enough precision to help the AI get to its goal faster.
评论 点赞 1
作者: @hopeandlonging (hopeandlonging)
时间: Fri Mar 13 12:22:57 +0000 2026
链接: https://x.com/hopeandlonging/status/2032432222574092439
@CtrlAltDwayne they will put you in jail for insights like these dude, be careful
评论 点赞 1
作者: @jonurenawriter (Jon Ureña)
时间: Fri Mar 13 15:00:32 +0000 2026
链接: https://x.com/jonurenawriter/status/2032471881253532073
@CtrlAltDwayne I’m having Codex and Claude Code write a complex simulation in Rust. No issues. Six years ago when I tried a similar project myself, it was an extremely-complicated affair.
评论 点赞 1
作者: @michael_timbs (Michael Timbs)
时间: Fri Mar 13 11:06:35 +0000 2026
链接: https://x.com/michael_timbs/status/2032413003501678924
@CtrlAltDwayne Just have to wait for slow compile times in the feedback loop
评论 点赞 1
作者: @gustavokov (Gustavo Noronha)
时间: Fri Mar 13 14:57:27 +0000 2026
链接: https://x.com/gustavokov/status/2032471103130505227
@CtrlAltDwayne Underrated feature: local reasoning.
Rust allows you to know for sure something you are passing to a new thread can’t be used elsewhere in a way that causes a data race by looking at just the function where you make that call. No other language I know has this feature.
评论 点赞 1
作者: @josebalius (Jose Garcia-Balius)
时间: Fri Mar 13 11:28:00 +0000 2026
链接: https://x.com/josebalius/status/2032418395644113357
@CtrlAltDwayne Absolutely it’s turning into my default selection of language for new projects
评论 点赞 1
作者: @RefinedLurk (Refined Lurker)
时间: Fri Mar 13 14:43:27 +0000 2026
链接: https://x.com/RefinedLurk/status/2032467582738141265
@CtrlAltDwayne Source? I made it up
评论 点赞 1
作者: @real_redp (red plait)
时间: Fri Mar 13 14:32:16 +0000 2026
链接: https://x.com/real_redp/status/2032464765570646451
@CtrlAltDwayne so r*st code monkeys will be quickly replaced by ai and die of hunger
评论 点赞 31
作者: @momoyash (momoヤシュ)
时间: Fri Mar 13 14:53:54 +0000 2026
链接: https://x.com/momoyash/status/2032470209383354489
@CtrlAltDwayne @bf_flyer is this true?
评论 点赞 32
作者: @sanyam_singhal_ (sanyam)
时间: Fri Mar 13 14:59:41 +0000 2026
链接: https://x.com/sanyam_singhal_/status/2032471667939987855
@CtrlAltDwayne Somehow the only criticism for Rust comes from C/C++ lovers
评论 点赞 33
作者: @JeffEscobars (Jeffrey Escobar)
时间: Fri Mar 13 15:47:04 +0000 2026
链接: https://x.com/JeffEscobars/status/2032483591683526887
@CtrlAltDwayne Rust’s strict compiler and clear error messages create a perfect environment for AI-assisted coding enabling models to learn and self-correct in real time
评论 点赞 34
作者: @lovecrypt (lovecrypt music)
时间: Fri Mar 13 16:43:59 +0000 2026
链接: https://x.com/lovecrypt/status/2032497913193001409
@CtrlAltDwayne AI writes better Lua than it does Rust. What’s your point?
评论 点赞 35
作者: @SegFaultMaster (Avi)
时间: Fri Mar 13 14:40:03 +0000 2026
链接: https://x.com/SegFaultMaster/status/2032466724772094327
@CtrlAltDwayne Actually a solid point!!
评论 点赞 36
作者: @niksa_orlic (Niksa Orlic)
时间: Fri Mar 13 13:42:43 +0000 2026
链接: https://x.com/niksa_orlic/status/2032452295993004437
@CtrlAltDwayne Rust fans are pivoting :)
评论 点赞 37
作者: @ThornVaux (Thorn)
时间: Fri Mar 13 14:29:53 +0000 2026
链接: https://x.com/ThornVaux/status/2032464168797016460
@CtrlAltDwayne You get the same from having it code Java
评论 点赞 38
作者: @treenochh (eggnog)
时间: Fri Mar 13 15:23:30 +0000 2026
链接: https://x.com/treenochh/status/2032477660987715934
@CtrlAltDwayne ai writes pretty good cpp
评论 点赞 39
作者: @lasertweezer (Rem Nguyen)
时间: Fri Mar 13 15:50:44 +0000 2026
链接: https://x.com/lasertweezer/status/2032484512203202760
@CtrlAltDwayne even truer for michelson. seriously.
评论 点赞 40
作者: @oven_mgr (Subway Oven Supervisor)
时间: Fri Mar 13 15:11:36 +0000 2026
链接: https://x.com/oven_mgr/status/2032474666695364751
@CtrlAltDwayne just put on the socks already
评论 点赞 41
作者: @Pratheekgowdaa (Pratheek Gowda D J)
时间: Fri Mar 13 12:39:26 +0000 2026
链接: https://x.com/Pratheekgowdaa/status/2032436372720824450
@CtrlAltDwayne Amen!
评论 点赞 42
作者: @cmiiiion (Cmillion)
时间: Fri Mar 13 13:13:00 +0000 2026
链接: https://x.com/cmiiiion/status/2032444820141007076
@CtrlAltDwayne TRUTH NUKE!
评论 点赞 43
作者: @dayyanl (Dayton)
时间: Fri Mar 13 16:03:12 +0000 2026
链接: https://x.com/dayyanl/status/2032487652746752029
@CtrlAltDwayne Rust is gay
评论 点赞 44
作者: @sio_mrnobody (MrNobody)
时间: Fri Mar 13 15:07:25 +0000 2026
链接: https://x.com/sio_mrnobody/status/2032473611773133188
@CtrlAltDwayne You are an epic level moron, but hey telling everyone you are a shit coder is your right, but this is an odd way to do it.
评论 点赞 45
作者: @mimighost008 (Sanchen007)
时间: Fri Mar 13 10:39:10 +0000 2026
链接: https://x.com/mimighost008/status/2032406104957927516
@CtrlAltDwayne Can confirm gpt5.4 spills thousands lines of rust without breaking
评论 点赞 46
作者: @umutkarakoc (Umut Karakoç)
时间: Fri Mar 13 12:26:07 +0000 2026
链接: https://x.com/umutkarakoc/status/2032433018434925011
@CtrlAltDwayne it is also help you cor write correct sql and html if you use sqlx and maud like crates. most llm can use lsp metadata too
评论 点赞 47
作者: @sshivasurya (Shivasurya)
时间: Fri Mar 13 17:25:34 +0000 2026
链接: https://x.com/sshivasurya/status/2032508381404025124
@CtrlAltDwayne This falls under: anything that is verifiable is a good signal for AI training/RL loop
评论 点赞 48
作者: @KamranZone (Kamran Ul Haq)
时间: Fri Mar 13 16:56:47 +0000 2026
链接: https://x.com/KamranZone/status/2032501135869895005
I’ve experienced something similar with C#. Modern tooling combined with AI models is getting really good. The tight feedback loop from the compiler makes a huge difference and deserves more appreciation. I still remember the days when I had to manually copy and paste errors to AI from the terminal just to figure out what went wrong during compilation.
评论 点赞 49
作者: @h_santesteban (Hernan Santesteban)
时间: Fri Mar 13 16:43:38 +0000 2026
链接: https://x.com/h_santesteban/status/2032497827172020398
@CtrlAltDwayne It is still way too sloppy (as most of the code written by these things), but yes. You still have to babysit the model A LOT, but this will eventually be a thing of the past. Rust is a great choice, its guarantees already reduce some slop risk.
评论 点赞 50
作者: @inflectivAI (Inflectiv AI ⧉)
时间: Fri Mar 13 13:37:35 +0000 2026
链接: https://x.com/inflectivAI/status/2032451004118032645
@CtrlAltDwayne By moving the “friction” of development to the compile stage, Rust turns the debugging process from a human guessing game into a structured data stream that AI can optimize in real time.
评论 点赞 51
作者: @AGi_XT (AGiXT)
时间: Fri Mar 13 17:23:56 +0000 2026
链接: https://x.com/AGi_XT/status/2032507968193786347
@CtrlAltDwayne Yeah that actually tracks. When the feedback is clear and instant, both devs and AI just get better way faster.
评论 点赞 52
作者: @WilmsRolf (Rolf Wilms 🏴)
时间: Fri Mar 13 17:02:02 +0000 2026
链接: https://x.com/WilmsRolf/status/2032502458363117984
@CtrlAltDwayne If it’s Rust vs C++, then fine. Otherwise, AI will benefit from having a whole class of errors eliminated by the language runtime as much as humans do.
评论 点赞 53
作者: @joelreymont (Joel Reymont)
时间: Fri Mar 13 17:18:47 +0000 2026
链接: https://x.com/joelreymont/status/2032506671121998171
@CtrlAltDwayne https://t.co/YTgjZtRnX5
评论 点赞 54
作者: @VitaliArbuzov (Vitali)
时间: Fri Mar 13 15:56:02 +0000 2026
链接: https://x.com/VitaliArbuzov/status/2032485846440726953
@CtrlAltDwayne Yep, rust + AI + domain knowledge is a superpower.
评论 点赞 55
作者: @therealomsec (alpenfuchs)
时间: Fri Mar 13 17:24:02 +0000 2026
链接: https://x.com/therealomsec/status/2032507994462679069
@CtrlAltDwayne AI also writes better Python than C++ 😶
评论 点赞 56
作者: @adifiedio (Adarsh)
时间: Fri Mar 13 17:09:21 +0000 2026
链接: https://x.com/adifiedio/status/2032504296659628452
@CtrlAltDwayne That’s still a pretty narrow view of what makes Rust useful, even if AI is a factor now.
评论 点赞 57
作者: @yash1_ (Yash Sharma)
时间: Fri Mar 13 16:04:40 +0000 2026
链接: https://x.com/yash1_/status/2032488021191536710
@CtrlAltDwayne Anything designed with a feedback loop will eventually become Ai-assisted with better results in output in comparison with human performance.
评论 点赞 58
作者: @HdCoder (Erik)
时间: Fri Mar 13 14:49:13 +0000 2026
链接: https://x.com/HdCoder/status/2032469031802782015
@CtrlAltDwayne I don’t really know if that’s true. You can get a lot of really good overflow checking for instance, if you just use an electric fence allocator around your typical allocators. Or for the malloc people, use a sanitizer. You can make c++ relatively painless if you keep it in mind.
评论 点赞 59
作者: @plzvoteharder (Flat Affect)
时间: Fri Mar 13 16:39:02 +0000 2026
链接: https://x.com/plzvoteharder/status/2032496668327989697
@CtrlAltDwayne My experience with AI and Rust is that AI tends to provide outdated code, I think due to a lack of variety for training models.
评论 点赞 60
作者: @rastakayakwana (Zbyněk Říha ✡)
时间: Fri Mar 13 14:38:35 +0000 2026
链接: https://x.com/rastakayakwana/status/2032466358747664388
@CtrlAltDwayne Rust was designed as a narrow path that keeps programmers from straying from the safe route. And, surprisingly, LLMs also respond well to constructive feedback for programmers. This was no accident.
评论 点赞 61
作者: @Evanfchan (Evan Chan)
时间: Fri Mar 13 15:17:33 +0000 2026
链接: https://x.com/Evanfchan/status/2032476163357184347
@CtrlAltDwayne Compiler restrictions help guardrail AI. However you need to enforce clippy and other checks as well.
评论 点赞 62
作者: @KsenKamil (Kamil Kseń)
时间: Fri Mar 13 12:22:25 +0000 2026
链接: https://x.com/KsenKamil/status/2032432090814259677
@CtrlAltDwayne not only compiler, LSP is actually world-class and tools like opencode which rely on LSP heavly, writes way better results than without it
评论 点赞 63
作者: @exparrot1969 (exparrot)
时间: Fri Mar 13 15:52:22 +0000 2026
链接: https://x.com/exparrot1969/status/2032484926894051624
@CtrlAltDwayne …an arguement presented without evidence. This enables me to be as equally thoughtless in my hot take: Then why not Ada?
评论 点赞 64
作者: @islrpk (-)
时间: Fri Mar 13 16:16:20 +0000 2026
链接: https://x.com/islrpk/status/2032490954662228350
@CtrlAltDwayne try asking an AI what language it prefers coding in, the answer may surprise you
评论 点赞 65
作者: @goulbax (goulbax)
时间: Fri Mar 13 11:02:44 +0000 2026
链接: https://x.com/goulbax/status/2032412037049921742
@CtrlAltDwayne compilation times is the bottleneck, so rust is not good for ai. Odin is the right choice
评论 点赞 66
作者: @josemanuelp0 (José Manuel)
时间: Fri Mar 13 11:53:07 +0000 2026
链接: https://x.com/josemanuelp0/status/2032424717391401073
@CtrlAltDwayne Rust is the last human designed language and all you need from now on (until singularity arrives).
评论 点赞 67
作者: @Joggerh5vh (Jogger)
时间: Fri Mar 13 15:16:57 +0000 2026
链接: https://x.com/Joggerh5vh/status/2032476010474598826
@CtrlAltDwayne Wouldn’t this actually mean ada or one of the leaked classified 3 are actually the best languages then?
评论 点赞 68
作者: @lipido (Daniel Glez-Peña 🇪🇺)
时间: Fri Mar 13 15:00:44 +0000 2026
链接: https://x.com/lipido/status/2032471929760674180
@CtrlAltDwayne The compiler errors are amazing!
评论 点赞 69
作者: @rhythmcache (X)
时间: Fri Mar 13 14:31:03 +0000 2026
链接: https://x.com/rhythmcache/status/2032464462578651437
@CtrlAltDwayne Yup
https://t.co/Fe6q2XJcVZ
评论 点赞 70
作者: @Cryptoskeptist (CryptoSkeptistDegen)
时间: Fri Mar 13 14:12:22 +0000 2026
链接: https://x.com/Cryptoskeptist/status/2032459757265600659
@CtrlAltDwayne “free training signal” do you even know how LLMs work? And no it’s because of fucking AI. Seriously, you thought you wrote a banger post here when it’s purely idiocy
Capture Diagnostics
{
"mode": "thread",
"started_at": "2026-03-13T17:26:07.980Z",
"ended_at": "2026-03-13T17:27:16.553Z",
"rounds_executed": 24,
"expand_clicks": 0,
"last_visible_expand_buttons": 0,
"termination_reason": "stable_idle",
"incomplete": false,
"likely_incomplete": false,
"error_code": null,
"resumed_from_cache": false,
"imported_tweets": 0,
"imported_users": 0,
"cache_path": "/mnt/ramdisk/test/@CtrlAltDwayne_status_2032388050584736157.session.json",
"cache_age_ms": null,
"cache_prior_likely_incomplete": false,
"cache_expired": false,
"newly_captured_tweets": 34,
"last_expand_button_texts": [],
"clicked_expand_button_texts": []
}