Microsoft agentically ports Copilot runtime to Rust for $120K
Thread
Loading the complete thread in the background. This saved snapshot is available now. Refresh
Unofficial Hacker News client; not affiliated with Y Combinator.
Microsoft agentically ports Copilot runtime to Rust for $120K
Loading the complete thread in the background. This saved snapshot is available now. Refresh
Unofficial Hacker News client; not affiliated with Y Combinator.
tecoholic · · focus · HN ↗
smitty1e · · focus · HN ↗
formerly_proven · · focus · HN ↗
If you've ever used that tool you wouldn't ask this question, since it's obviously fully vibecoded.
wayvey · · focus · HN ↗
NewsaHackO · · focus · HN ↗
applfanboysbgon · · focus · HN ↗
phoghed · · focus · HN ↗
perching_aix · · focus · HN ↗
dgellow · · focus · HN ↗
Rexxar · · focus · HN ↗
For example, until recently the main file for donet runtime GC was more than 50000 lines (it has since been split).
skrebbel · · focus · HN ↗
solarkraft · · focus · HN ↗
sajithdilshan · · focus · HN ↗
dgellow · · focus · HN ↗
sajithdilshan · · focus · HN ↗
dgellow · · focus · HN ↗
Zanfa · · focus · HN ↗
[0] <a href="https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/view/View.java" rel="nofollow">https://android.googlesource.com/platform/frameworks/base/+/...
tecoholic · · focus · HN ↗
brewmarche · · focus · HN ↗
tecoholic · · focus · HN ↗
brewmarche · · focus · HN ↗
I’ve also read that a first version of the file came from a Common Lisp to C++ code generation step: <<a href="https://news.ycombinator.com/item?id=23295041">https://news.ycombinator.com/item?id=23295041>
Rexxar · · focus · HN ↗
- there are now ridiculous vibe coded localisation in VS2026
- task manager started to not report cpu usage correctly recently (the number becomes stalled)
- file explorer display the "loading" icon infinitely on some directories
- and many other things!
chrischen · · focus · HN ↗
Icathian · · focus · HN ↗
fingerlocks · · focus · HN ↗
sharktheone · · focus · HN ↗
GrayShade · · focus · HN ↗
Nautilus had that feature 10 years ago, good to hear they've reached parity.
edg5000 · · focus · HN ↗
solarkraft · · focus · HN ↗
szatkus · · focus · HN ↗
pjmlp · · focus · HN ↗
amelius · · focus · HN ↗
andrewstuart · · focus · HN ↗
Greenlets were much faster.
Gil free python gets stuck on all sorts of python locks. It’s slow.
rienbdj · · focus · HN ↗
amelius · · focus · HN ↗
And if LLMs are as great as they make us believe they are, then this should be easily possible.
andrewstuart · · focus · HN ↗
perching_aix · · focus · HN ↗
Though it's the same extension that can't keep its session timestamps straight, randomly hides sessions I was just in (then suddenly remembers them after going in and out of a session), and completely shits itself visually when using OpenAI's models, so maybe it really is just the latter.
dmix · · focus · HN ↗
The +400k new lines were probably code comments the agents added to everything
codegladiator · · focus · HN ↗
[deleted] · · focus · HN ↗
[deleted]
meerita · · focus · HN ↗
hollowturtle · · focus · HN ↗
Does this impresses/surprises anyone? Two folds: 1) I believe the most optimized JavaScript code could near the performance of this phase 1 port without optimizations. I would have gone with that first, many would think that would not be as cost efficient but: 2) optimizing the rust code will require 10x the effort of the 1 by 1 conversion, just because you now need idiomatic rust code that likely has nothing to do with a plain translation. So defeating the initial gain, there's nothing to do the bottleneck gets just pushed elsewhere
meerita · · focus · HN ↗
Total: ~1,301,378 lines of Rust.
Production: 832,378 Unit tests: ~469,000 Combined: ~1.30 million lines
On top of the 832K LoC are mostly tests she answered:
> Yeap, 832,378 lines of production Rust. the +800K number is production only; unit tests are another +469K on top.
<a href="https://x.com/acolombiadev/status/2100660224298193081?s=20" rel="nofollow">https://x.com/acolombiadev/status/2100660224298193081?s=20
jsnell · · focus · HN ↗
No? That quote is clearly saying the opposite of your summary.
meerita · · focus · HN ↗
iamgopal · · focus · HN ↗
asp_hornet · · focus · HN ↗
I’m guessing so it can interop easier with C/C++ codebases? Just a stab in the dark, I have no idea.
Havoc · · focus · HN ↗
hollowturtle · · focus · HN ↗
Havoc · · focus · HN ↗
> you can still do a lot memory management
That’s kinda my point - you don’t really want to trust the LLM to get any sort of memory management right. A system where hard constraints are baked into the language itself and the LLM fights the compiler at compile time removes a lot of hoping the LLM got it right.
Ultimately either works though so use whatever you enjoy
OutOfHere · · focus · HN ↗
baxuz · · focus · HN ↗
mg74 · · focus · HN ↗
dgellow · · focus · HN ↗
OutOfHere · · focus · HN ↗
dgellow · · focus · HN ↗
[deleted] · · focus · HN ↗
[deleted]
supermatt · · focus · HN ↗
alex_duf · · focus · HN ↗
OutOfHere · · focus · HN ↗
jdw64 · · focus · HN ↗
Havoc · · focus · HN ↗
Don't know what tech stack it is but I'm guessing electron judging by how buggy and slow it is
aniceperson · · focus · HN ↗
blacklimetea · · focus · HN ↗
[dead]
pinkmoonx · · focus · HN ↗
[dead]
turowicz · · focus · HN ↗
ChrisArchitect · · focus · HN ↗
mixxit · · focus · HN ↗
Really nothing works anymore as great a product full fat visual studio and windows 7 was I don't have time to deal with your bugs