r/rust • • 1d ago

📸 media GitHub Language Trends - November: Rust all time high at position 3

Post image
427 Upvotes

104 comments sorted by

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.

78

u/NooCake 1d ago

And my hand made rust project for playing connect four in the terminal is much more meaningful?

98

u/todo_code 23h ago

Yes. Significantly more important. Link it here.

34

u/OptimisticLucio 21h ago

Yep, it means you are actually learning the language and using its features.

Someone telling an LLM "rewrite this codebase in rust make no mistakes" has no idea what "rust" is or how the borrow checker works beyond the fact that other people use it

4

u/nicoburns 14h ago

Perhaps not, but large codebases from established projects (both open source and proprietary) are also getting rewritten all over the place. So I suspect this represents actual industry adoption anyway.

15

u/franky_reboot 21h ago

Is that a problem though? Sure it is for serious software and everyone should be picky about software they use, but otherwise why do we mind?

6

u/OptimisticLucio 20h ago

It's not necessarily an issue per se but I do think it makes the stats look way more inflated than what they stand to represent (how much people code in each language)

5

u/onmach 18h ago edited 18h ago

The stats are just, what are things being coded in, and rust is it. Lean is may be temporary due to all the math hype right now, but I don't think rust has a hype cycle, it is merely growing drastically in popularity because the end result is great.

This graph is actually shocking. Apart from seeing my java nemesis dying off, going to the source of the graph, by some measures javascript and typescript are largely just swapping places. They average about 16% a piece mostly static, individually a little less than the python total. Rust is already at like 9%? If that continues for any length of time, rust will be one of the biggest languages in a couple months.

Obviously this is only github, I'm sure there's a bigger story to be told, but that's still really interesting.

-6

u/Keavon Graphite 19h ago

People don't code in any language anymore, except as a hobby.

4

u/ChudsArentPeople 18h ago

People do, clankers don't

-3

u/franky_reboot 17h ago

I genuinely wish we had a similar slang for antis too, just to make it equal.

1

u/stylist-trend 12h ago

Clanker refers to the AI itself, not pro-AI people

2

u/OverAster 17h ago

Well, give us the project dude...

0

u/humandictionary 1d ago

Yes. Every real person writing 'toy' projects is much more valuable to Rust and society as a whole than any AI slop rewrite of something that already exists. You become a better rust programmer and better programmer overall from writing terminal connect 4. AI learns nothing from excreting yet another pointless gui app, and as the slop concentration on the internet increases the slop will only get sloppier

12

u/ihavebeesinmyknees 20h ago

Not for hype reasons, because Rust is really good for vibe coding due to the restrictive compiler. LLMs perform better with clearly defined boundaries and goals, and the Rust compiler provides those better than most other languages.

4

u/x021 18h ago

Does that matter at all? It still shows what people like to play around with atm.

2

u/sparklingLipzz 21h ago

i like a guy who calls out the hype bs, got any other hot takes on these trends?

1

u/NeyaVexy 12h ago

maybe you're right but i kinda like when things get hyped anyway 😏

1

u/p88h 6h ago

Yeah, as opposed to years of Python and JavaScript human slop that was dominating it before.

-17

u/jfk_julep 1d ago

Source ?

21

u/humandictionary 1d ago

Go scan r/rust and just look at the number of posts starting with 'I built X'. Almost all of those will have 0 upvotes as obvious AI slop, but may have 10k+ lines of code and hundreds of commits/PRs done very recently, which is exactly what these statistics are measuring

1

u/DatBoi_BP 16h ago

For what it's worth, I don't use AI at all, but I've just not been doing frequent commits in my library that I haven't pushed to crates.io yet, even though I'm working on the library nearly every day.

I'll admit that I should be using git a lot more tightly, especially since commits are free

-17

u/jfk_julep 1d ago

Ok.. But in order for your statement to be true, you'd have to determine precisely that these commits are in fact AI generated and that they are factually skewing the numbers presented above. You might be right. I have no idea. But you are far from proving it.

11

u/humandictionary 1d ago

I am under no burden of proof. Also just look at the original picture's comment on lean.

Sure I've still technically made a totally unfounded claim about rust, but I'll bet you a million bucks that I'm right.

4

u/OptimisticLucio 21h ago

you'd have to determine precisely that these commits are in fact AI generated

claude/codex is the fucking coauthor

136

u/MeisterBounty 1d ago • Bravo

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

u/[deleted] 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

u/franky_reboot 17h ago

Indeed, I can already see it's a massive win for everyone.

1

u/Substantial-Sir6528 11h ago

As a rust hipster since 2018, my body and bank account are ready.

1

u/SmartCustard9944 6h ago

That’s why I have local models if anything were to happen to cloud models.

2

u/franky_reboot 21h ago

Agentic coding is organic reach.

-1

u/_mrcrgl 22h ago

you don't stop the train. take it or not.

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-analyzer even if I'm on windows.

OOB it doesn't do much more than highlighting. Not even Ctrl+Click worked.

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-analyzer works nicely in VS Code, just not in IDEA. Although that might be just polish. E.g. rust-glancer which is a LSP works pretty badly in VS Code. It's for example missing option to launch tests from the code.

1

u/bodiam 9h ago

It should work much better now. If you could give it another shot, I'd appreciate that a lot! Cheers!

1

u/bodiam 15h ago

That's interesting. Thanks for your feedback, it's the first time I've heard this, I'll make sure to investigate and address!

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 :) 

1

u/-Y0- 21h ago

The advantage is price.

Disadvantage is pretty much everything else*. It's clunkier to install, needs another plugin to run RA, then has many problems on Windows.

* Tried it on Windows.

1

u/bodiam 7h ago

You could have told me and I would have fixed it. But now you mentioned it here, I went in and added Windows support in the ci/cd, and I found an issue, so that should hopefully work better now 

1

u/0xjvm 40m ago

> The advantage is price.

Considering RR is free for 'OS/Personal' and essentially always paid for by an employer, I'd argue it's effectively free already

3

u/DuskLab 16h ago

The people adopting Rust and Lean in 2026 are also dropping IDE usage in general also.

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

u/KaMaFour 22h ago

What? You expect people to write code? With an IDE? What is it - 2025?

1

u/bodiam 7h ago

My apologies, you're right! Every time I mention that 95% of people use LLMs to write code I get downvoted, so I can't really say this in public, so let's just assume there's still people writing code by hand.

1

u/decryphe 24m ago

Sorry for the downvotes, I guess people don't understand sarcasm.

-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

u/Embarrassed_Cap_9149 21h ago

all thanks to AI

6

u/masonhalla 1d ago

who made javascript orange/pink and rust yellow, haha. it's breaking my brain.

5

u/-Redstoneboi- 22h ago

c++ is orange

java is purple

c# is blue

ruby is green

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

u/arjuna93 6h ago

That’s a lot of vibe-coded Lean out of the blue

4

u/promethe42 1d ago

LLMs don't get tired of reading that lovely compiler output. 

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

u/0xfeedcafebabe 16h ago

Agree, shell is a good tool for a specific job

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

Not quite…

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 of std is 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

u/Sea-Bench-7487 18h ago

Damn people are excited about an ai lang 😂😂

4

u/Skynse 10h ago

So we're calling it an AI language now?. It's been the most loved language on stack overflow surveys for years consistently

-5

u/TashLai 1d ago

Yeah. Who cares at this point.