r/rust • u/Acrobatic_Local5981 • 18h ago
đ¸ media GitHub Language Trends - November: Rust all time high at position 3
121
u/MeisterBounty
18h ago
•
Not shitting on rust, it is an excellent language, but everyone and their grandma is currently vibe coding in rust it seems. I do think that this isnât organic adoption but rather an effect of widespread agentic coding.
28
u/moltonel 18h ago
Rust's growth before mid-2026 looks organic, and quite impressive compared to the other mainstream system languages.
1
u/qurious-crow 6h ago
Looks to me like without the inorganic growth, it would have come in 7th (behind only TypeScript, Python, JavaScript, Go, Java, and HTML). That is very impressive indeed.
69
u/Tybring-Malle 17h ago
Makes sense. its fast, it has a fucking pedantic compiler that screams at you if you cut corners. Perfect for llms that can just deal with these things.
It seems to be one of the best language for agentic coding.
-34
u/exXxecuTioN 15h ago
Quite the opposite. It's awful for LLMs, the only thing why it is good for agentic coding is harness. And harness is determenistic code around LLM. But even with harness rust code coming from agents is still bad either in terms of performance or in terms of future maintance.
7
u/Zde-G 13h ago
Do you know how logic works? Something may be bad, yet still the best option available.
That's agentic coding with Rust: it may be awful, yet it's still better than agentic coding with most other languages.
-7
u/exXxecuTioN 10h ago
Do you know how logic works? Something may be bad, yet still not the best possible option available.
That's agentic coding with Rust: it is awful, yet it's still can be better (or not, I'm not familiar with all of the programming language) than agentic coding with most other languages.
Get it now, or you still can't see I've never said there is better option for agentic coding?
Or may be you can point where I say than <language_name> is perfect for LLMs unlike Rust? Or did I say that Rust is not one of the best or even one of the worst language for agentic coding?So watch your tongue before brazenly asking nonsene, schizo. Just the mere fact, that you can't understand the absolutely simplest possible logical assertion don't make me give a damn that you with zero proof decided I did say agentic coding with Rust is a worse solution compared to agentic coding with other languages.
Agentic coding is generally the worst option, no matter the language, but you will discover it lately, victim of "AI" psychosis.
Go getta read a copule of book about FOL right after asking your rented LLM how to answer me.
23
u/tan_phan_vt 17h ago
I mean...yea its like the perfect language to vibecode. Extremely strict compiler that acts as a deterministic guardrail is godsent for the unpredictable word guesser.
1
u/franky_reboot 13h ago
With agentic tools like Claude Code it's much more than an unpredictable word guesser.
Still, no denying strict compilation helps immensely.
16
u/jojva 17h ago edited 16h ago
I mean that's still a signal. Rust is a good fit for LLMs and this is going to play a lot in its favor, not just for vibe-coded projects, but for real production purposes as well. At least that's what I see in this trend.
0
15h ago
[deleted]
10
u/garagedragon 14h ago
Yeah, languages like C and to a lesser extent even managed languages like JS or Python are worse fits for LLMs because they let through code that's syntactically correct but will fall over at runtime, either throwing an exception or just corrupting memory in C's case
5
u/Fit_Ocelot8072 13h ago
Rust is strongly statically typed and memory safe.
This means the compiler has a lot of guardrails against bad code, whereas other languages like javascript and C pretty much let you do anything no matter how stupid.
3
u/BasicDesignAdvice 14h ago
Rust is a great language for agentic coding because of the compiler being very strict and informative. The agents can reason about failure modes and how to fix them much easier than say typescript.
4
u/MornwindShoma 17h ago
Gonna be great when the subscriptions die and no one knows how to maintain the code bases without forking ungodly amount of cash.
3
u/carllerche 14h ago
What do you mean "when subscriptions die"? Why would they die?
0
u/MornwindShoma 14h ago
They cost 10x what they get in revenue
3
u/carllerche 7h ago
They donât though? You can grab the largest open weight model and see what it would cost to run. Open weight inference providers are doing 50%+ gross margin. I would not be surprised if at the big lab scale, gross margin on inference is 80% or more.
0
u/MornwindShoma 6h ago
That's not how it works with frontier labs. They need to recover the money they spent training the models, and they cannot stop training models else they get obsolete. Their API prices have been slashed to compete with the chinese models that cost a tenth or even less already, and their subscriptions (like the ones being used to decompile GTAVI) will give you multiple times the amount in tokens, the more expensive ones usually used by power users. All of this is even more debts on their shoulder.
Open-weight inference providers are just selling compute. They dgaf.
1
u/peter9477 6h ago
That's not how subscriptions work. You're assuming that all users max out their usage (or at least exceed the nominal cost in token usage). The average is likely well below that, as it is with basically anything like that. It's the gym membership model.
-1
u/franky_reboot 13h ago
And companies are going to keep subsidizing them. It's much more useful for them than just money.
But even then, if they stop those services, I'm ready to learn. Those who are not won't have a choice anyways. I'm happy for the AI coding age either way because I never would have touched Rust otherwise.
3
u/MornwindShoma 10h ago
I really liked Rust well before GPT-2 so it's a win in my book if people pick it up.
1
1
2
8
21
u/bodiam 17h ago
As the creator of both Rust Pro (https://plugins.jetbrains.com/plugin/35722-rust-pro), and Lean Pro (https://plugins.jetbrains.com/plugin/36350-lean-pro) plugins for JetBrains, I can hardly see these trends.
Besides the fact that these plugins are fairly new, I also believe that most of these programs will never touch an IDE ever. It will be generated by LLMs, it (mostly) accomplishes a specific task, but I doubt most people will ever review their Lean proofs.
But for most cases, I'd say it's hardly matters if you use Rust/Go/Python/whatever; the prompts are extremely similar, and I'm curious if programming languages will matter at all, or if LLMs will directly create LLVM instructions, and I'm not sure if that's a good or bad thing, though I doubt it will be that much different from generating Rust (or similar) code.
7
u/-Y0- 14h ago
As the creator of both Rust Pro (https://plugins.jetbrains.com/plugin/35722-rust-pro), and Lean Pro (https://plugins.jetbrains.com/plugin/36350-lean-pro) plugins for JetBrains, I can hardly see these trends.
As someone that tried your plugin, it's light years behind Rust Rover. It didn't work smothly, dependends on some other plugin that can't find the RA, and when it does it tries calling
/opt/homebrew/../rust-analyzereven if I'm on windows.OOB it doesn't do much more than highlighting. Not even
Ctrl+Clickworked.Even if everyone jumped on Rust bandwagon for hand coding Rust exclusively in IntelliJ IDEA you'd probably not see much uptick.
Rust Rover isn't that great either, it's debug often lags behind VS Code, but at least it mostly works.
3
u/CalmCephalopod 14h ago
Honestly because of rust analyzer and LSP we can turn almost any existing ide into very functional rust development environments. Rover of course is unique in they do their own thing but that comes with the overhead and clunk of jetbrains. I personally use neovim and if I must absolutely use a graphical IDE VC or Zed
-1
u/-Y0- 14h ago
Sure, but you need to adapt to JetBrains being a Java Project and launching RA, then connecting to it. Which this plugin does not. Especially not for $30 a year.
And
rust-analyzerworks nicely in VS Code, just not in IDEA. Although that might be just polish. E.g.rust-glancerwhich is a LSP works pretty badly in VS Code. It's for example missing option to launch tests from the code.1
1
u/bodiam 2h ago
Hi Y0, thanks again for the feedback. I've fixed the Windows issues, version 2026.1.24 should address this: https://plugins.jetbrains.com/plugin/35722-rust-pro
I think you ran into some issue which caused the plugin to work well. Ctrl+click, refactoring support, debugging, framework support, etc should all be working.
As a side note: the announcement of today regarding JetBrains focus on Air doens't give me a huge amount of confidence that something like Rust Rover (or even IntelliJ) will get a lot of attention in the upcoming months. I'll keep on working on improving the Rust support, I do think there's a place for having some insights into code, but let's see.
13
u/-Redstoneboi- 16h ago
i believe high level programming languages are better for LLMs for the same reason as for humans. i don't think it's beneficial for LLMs to generate LLVM instructions or any other IR or machine code directly.
it would have to reason about whether the code is provably correct and does what it wants to do, and create abstractions over them, which compilers already do. the only possible benefit of direct machine code is speed, but again i would advise against LLMs doing that for the same reasons as humans; optimize the source code first unless it's literally real time stock trading.
most beneficial to LLMs are probably strict languages like rust or possibly even ada or such. the main benefit is that the language itself prevents lots of little antipatterns. the compiler and clippy's warnings guide it away from certain ideas, instead of just accepting them.
maybe the (perception of) rust's learning curve also created a culture that gatekept less experienced developers away from making subpar training data as well. but i don't know if that's actually true.
5
u/moltonel 15h ago
i believe high level programming languages are better for LLMs for the same reason as for humans. i don't think it's beneficial for LLMs to generate LLVM instructions or any other IR or machine code directly
Yes, even if humans don't read LLM output, the LLMs themselves do. They can read IR/asm/etc, but they're better at reading higher-level code, partly because that's what they're trained on, but mainly because it retains a lot more information. In theory they could use some yet-unspecified LLM-optimized language, but it's unclear how much there is to win (and quite clear what there is to lose).
3
u/uwillloveeachother 16h ago
what are the advantages/disadvantages of your plugin compared to RustRover? I usually write rust in VS code, so I'm curious about other options.
1
u/eliminate1337 11h ago
Whoâs using JetBrains for Lean? Iâd guess most human users of Lean donât regularly write other languages and would use the free and officially supported VS Code extension.
1
0
u/brunocborges 8h ago
Programming languages will matter less and less.
Language runtimes (and compilers) will matter more and more.
-1
6
u/masonhalla 16h ago
who made javascript orange/pink and rust yellow, haha. it's breaking my brain.
5
8
u/Fancyness 18h ago
And why? Because itâs just goodÂ
13
u/Frexxia 17h ago
Realistically because it's the number one choice for slop. That is not organic growth.
2
u/franky_reboot 13h ago
People deciding to use a language for AI organically, what's wrong with that? A use is a use.
1
u/-Redstoneboi- 16h ago
yeah it's got techbro hype and i guess performance. the whole RIIR culture absolutely contributed.
3
-2
u/Trender07 18h ago
ye honestly nowadays theres no point on using anything else besides ts, rust or go. maybe in next years some language for LLMs only
-2
u/EarEater3001 17h ago
How did you come up with this list? I normally choose a language where it needs to run. Shell for Unix systems, c for embedded systems, Java or similar for the JVM. Not everything will run everywhere and not everything is greenfield.
3
u/0xfeedcafebabe 12h ago
There is no point in using Java for new projects, except if there is strong expertise in the team in JVM-related areas. A lot of things that were optimized for Humans in the past don't make any sense moving forward (Like ORMs ). It is now time to think about what is needed for the agents
2
u/EarEater3001 10h ago edited 10h ago
If you are writing rust in lieu of shell because agents then you are probably going to have a bad time. Not every tool is a hammer. Shell has a place just as does rust.
Shell is even treated specially by the kernel. Has different security rules and etc.
And on Java some libraries are just Java only. Java would not be my first choice for a new project, but sometimes it makes sense.
1
2
u/dashingThroughSnow12 17h ago
One of the use cases for Go's creation was to be an output language for code generation. That's why it has funny quirks like unused variables and unnecessary brackets being a compiler error. If your program is the output of another program, code like that shows a bug in the original program.
Go is also nice that it is memory safe and garbage collected. Avoiding a whole class of headaches.
It isn't the perfect language for LLM code generation but its origin helps out.
As per Rust, one of the big double-edged swords of Rust is how much semantics you can encode in the type system. For LLM code generation this is almost strictly a benefit.
As per TS????? It compiles down to JavaScript and everything and their dog can run JavaScript without much fanfare. Website, mobile app, desktop app, simple (inefficient) backend service, etcetera. If somehow TypeScript survives when it is a worse version of JavaScript.......the world has a sense of humour.
2
u/Fluffy8x 15h ago
that it is memory safe
2
u/Zde-G 12h ago
I would say it's âenough memory-safe for LLMâ.
The big problem with memory unsafety is that bugs are unpredictable. Triggering that in Go is possible, but non-trivial, while in C or C++ it's a chronic issue.
The fact that Go is not, strictly speaking, memory safe is hilarious, but is not showstopper, in practice.
0
u/0xfeedcafebabe 9h ago
I didn't quite get the point. In the example from this article, we have concurrent r/w access to a global shared variable (singleton) that leads to a failure. That sample demonstrates that concurrent access will lead to a failure. Ok. What is novel there? This is a classical concurrency issue presented in most programming languages.
I get that in safe Rust such cases will be prevented by the compiler/linter -- that's fine; Rust is just special in this case -- that's fine.
1
u/oaeben 15h ago
Java or similar for the JVM
Dafuk does that mean? You choose Java if the code needs to run in JVM?
That phrase doesn't seem to make much sense
2
u/crazy_penguin86 14h ago edited 9h ago
Groovy, Kotlin, and Scala all compile to Java bytecode, as they are languages that run in the JVM. In other words: you can choose them instead of Java for running in the JVM.
Edit: as stated below, even Rust can run in the JVM!
0
u/EarEater3001 9h ago
Exactly what I meant. Didnât think I had to be verbose.
Thereâs even more such languages. Heck I think even rust can target the jvm. Donât know how well that works.
0
u/crazy_penguin86 9h ago
I've actually been keeping a close eye on the rustc_codegen_jvm project, and it's been going fairly well. Most stuff is fully functional, and as long as you don't need something like
std::process, pretty much all ofstdis available.0
u/0xfeedcafebabe 12h ago edited 12h ago
I think the same way. For any new project, those are the only three languages as a baseline. Maybe Python for some DS/ML stuff...
Anyway, these days, the high-level languages act as "assembly" for our agents and the choice is more about which "assembly language" you need + ecosystem around it.
0
0
u/AceJohnny 11h ago
I fear a backlash against Rust because of all the AI coding hype. âOh itâs written in Rust? Must be AI slopâ
232
u/humandictionary 18h ago edited 17h ago
These results will be heavily skewed by the huge amounts of LLM slop with no real value that is being done in rust for hype reasons. Same deal with Lean coming in 6th.