I've seen someone rewrite a wireguard proxy in rust for performance without realizing that it's just a daemon that interacts with the kernel to setup routing... But hey, at least the key generation is faster!
To be fair, big refactors like this need to be done gradually. This is obviously the first step.
Next step can be to port it using e.g. tractor tooling and have a bunch of unsafe calls you need to implement. It's a really fun puzzle. The goal is to have no more cpp dependency
1. Hop around a few rust communities and fill yourself up with full love of rust and hatred against c/c++.
2. Ignore any technical tradeoffs and considerations but solely lean on your guts and hypes on the Internet.
3. Ask Claude to rewrite the entire codebase to rust. Boom! Now you’re allowed to show off yourself on LinkedIn and HW as a super great rust engineer.
You don't. This days run your C/C++ code through AI and fix the issues it found. That gives you more in shorter time.
Remembering times when JetBrains was about carefully crafted Java intellisense. And I don't think demand for such tools is gone.
For Qt apps written in C++ I don't see how that could work yet.
Its kinda hard to understand the point somebody's making, when its articulated/made up by AI. Slop.
Similar experience to applications written with Claude slop.
I've seen someone rewrite a wireguard proxy in rust for performance without realizing that it's just a daemon that interacts with the kernel to setup routing... But hey, at least the key generation is faster!
Step 1. Start with a library that is a fat wrapper around a massive C++ library that does all the hard work
Step 2. Rewrite only the wrapper using already written tests.
Step 3. Get internet points because an LLM Rewrote it in Rust!
To be fair, big refactors like this need to be done gradually. This is obviously the first step.
Next step can be to port it using e.g. tractor tooling and have a bunch of unsafe calls you need to implement. It's a really fun puzzle. The goal is to have no more cpp dependency
They didn't need the disclaimer for this to be obvious AI slop
1. Hop around a few rust communities and fill yourself up with full love of rust and hatred against c/c++.
2. Ignore any technical tradeoffs and considerations but solely lean on your guts and hypes on the Internet.
3. Ask Claude to rewrite the entire codebase to rust. Boom! Now you’re allowed to show off yourself on LinkedIn and HW as a super great rust engineer.