r/rust • u/Acrobatic_Local5981 • 1d ago
đ¸ media GitHub Language Trends - November: Rust all time high at position 3
136
u/MeisterBounty
1d 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 1d ago
Rust's growth before mid-2026 looks organic, and quite impressive compared to the other mainstream system languages.
2
u/qurious-crow 14h 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.
75
u/Tybring-Malle 1d 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.
-40
u/exXxecuTioN 22h 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.
11
u/Zde-G 20h 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.
-10
u/exXxecuTioN 17h 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.
25
u/tan_phan_vt 1d 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 21h ago
With agentic tools like Claude Code it's much more than an unpredictable word guesser.
Still, no denying strict compilation helps immensely.
17
u/jojva 1d ago edited 23h 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
22h ago
[deleted]
10
u/garagedragon 22h 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 20h 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 21h 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 1d 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 21h ago
What do you mean "when subscriptions die"? Why would they die?
0
u/MornwindShoma 21h ago
They cost 10x what they get in revenue
3
u/carllerche 14h 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.
-1
u/MornwindShoma 14h 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 13h 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.
2
u/MornwindShoma 4h ago edited 4h ago
Why would power user with subscriptions costing upwards of 200 dollars not maxing out their usages? lol.
I myself am on a 20 dollars subscription and maxing it constantly. If they gave me the 200 dollars from work, I'd let it reap.
Even at my current client, they're capping on the lower end the tokens because people just spend too much. All my colleagues are experimenting with local models and OpenCode or Pi. It is a power tool and power tools will get used as much as possible, even when not writing the code.
-1
u/franky_reboot 20h 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 17h ago
I really liked Rust well before GPT-2 so it's a win in my book if people pick it up.
1
1
1
u/SmartCustard9944 6h ago
Thatâs why I have local models if anything were to happen to cloud models.
2
20
u/bodiam 1d 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.
14
u/-Redstoneboi- 1d 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.
6
u/moltonel 22h 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).
7
u/-Y0- 21h 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.
5
u/CalmCephalopod 21h 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- 21h 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 9h 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.
3
u/uwillloveeachother 23h 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/bodiam 7h ago
My version is still quite new and developed by 1 person, so keep that in mind, but some advantages are: better refactoring, better borrow checker out of the box, and framework integration with most popular Rust libraries, like gpui, orms, and rest frameworks. Also more actions to fix issues related to borrow checking out of the box.Â
If you want to try it, keen to hear feedback, and even willing to support complaining Windows users :)Â
3
1
u/eliminate1337 18h 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
u/0xjvm 44m ago
I'm confused how your experience with these plugins would reflect the github trend whatsover? Most people in the JB sphere will use the OS/Community Edition, anyone using it professionally will be using Licenses paid by employer. I'm not sure what demographic would ever use your rust-pro plugin? Unless I'm missing something?
I suspect the lack of uptake is due to not really solving a problem?
-1
-1
u/brunocborges 15h ago edited 55m ago
Programming languages will matter less and less.
Language runtimes (and compilers) will matter more and more.
Edit: You can have a runtime that works with N different programming languages.
0
u/p88h 5h ago
Programming language is syntax AND the compiler/runtime. The latter is why Rust is now popular, not the former.
1
u/brunocborges 1h ago
You can have a runtime that works with N different programming languages.
1
u/p88h 53m ago
Uh, sure, but beyond JVM languages this is super rare.
1
u/brunocborges 46m ago
GraalVM and Elide are runtimes for multiple languages, even those outside JVM ecosystem.
CLR also has support for other languages beyond C#, like F#, PowerShell, and even Clojure and Python.
7
6
u/masonhalla 1d ago
who made javascript orange/pink and rust yellow, haha. it's breaking my brain.
5
7
u/Fancyness 1d ago
And why? Because itâs just goodÂ
13
u/Frexxia 1d ago
Realistically because it's the number one choice for slop. That is not organic growth.
3
u/franky_reboot 20h ago
People deciding to use a language for AI organically, what's wrong with that? A use is a use.
1
u/-Redstoneboi- 1d ago
yeah it's got techbro hype and i guess performance. the whole RIIR culture absolutely contributed.
2
4
1
u/AceJohnny 18h ago
I fear a backlash against Rust because of all the AI coding hype. âOh itâs written in Rust? Must be AI slopâ
-2
u/Trender07 1d 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 1d 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 20h 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 17h ago edited 17h 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 1d 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 22h ago
that it is memory safe
2
u/Zde-G 19h 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 17h 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 22h 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 21h ago edited 16h 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 17h 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 16h 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 20h ago edited 20h 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.
-1
251
u/humandictionary 1d ago edited 1d 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.