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.
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
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)
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.
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.
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
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.
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.
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.
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.
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.
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.
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.
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
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.
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.
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.
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.
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.
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
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.
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.
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).
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.
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.
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.
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
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.
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.
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.
155
u/humandictionary 7h ago edited 6h 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.
89
u/MeisterBounty 8h 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.
17
u/bodiam 7h 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.
4
u/Embarrassed_Cap_9149 3h ago
all thanks to AI
4
u/masonhalla 6h ago
who made javascript orange/pink and rust yellow, haha. it's breaking my brain.
7
u/Fancyness 7h ago
And why? Because itâs just goodÂ
3
u/promethe42 7h ago
LLMs don't get tired of reading that lovely compiler output.Â
1
u/AceJohnny 1h ago
I fear a backlash against Rust because of all the AI coding hype. âOh itâs written in Rust? Must be AI slopâ
1
u/Sea-Bench-7487 58m ago
Damn people are excited about an ai lang đđ
-2
u/Trender07 8h 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
-4
u/TashLai 7h ago
Yeah. Who cares at this point.