logoalt Hacker News

fwsgonzo • today at 11:08 AM • 2 replies • view on HN

Indeed. I've converted one of my projects to Rust via LLMs and it was completely painless and ~same performance. LLMs found a swathe of issues that I ended up porting back as well. I still maintain the C++ library, but it's mostly for my own and existing usages now. I think newer projects will be looking for the Rust crate. I've also noticed that LLMs are doing better with Rust overall: Building, testing, formatting, linting and publishing is all standardized. As it should be.

LLMs are quite good at hand-written assembly though, so my C++ library still has a large lead for platforms where that work is done. I can probably port that to Rust as well, but I did start out with forbid(unsafe).


Replies

roflcopter69 • today at 11:53 AM

I remembered your username, hello libriscv guy, cool to see you posting here! I suppose you are talking about https://github.com/libriscv/libriscv-rs ? Cool to see it!

➕ show 1 reply
oreally • today at 1:14 PM

bad mistake. would have been more productive to use that LLM to rectify your c++ instead.

➕ show 1 reply