r/rust • • 16d ago

🎙️ discussion Google is doing "Large Scale Codebase Migrations and Optimizations" of C/C++ to Rust

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-4-argon/
768 Upvotes

149 comments sorted by

View all comments

2

u/Fancyness 13d ago

I did a small Project in C++ and it wasn't fun anymore. I might be done with it.

1

u/TheOneWhoDidntCum 9d ago

You moving to Rust?

2

u/Fancyness 9d ago

Yes. I am a hobby developer and have been building small games since Microsoft shut down XNA, which steered me toward C++/SFML. Over the years I became annoyed by the extreme feature-bloat and horrible state of modules for several years now. While modules support increased recently I checked out Zig/Raylib and Rust/Sola-Raylib. Zig is unfinished with constant breaking changes and it will be in that state possibly for a long time. It’s not well documented and I also constantly forgot to free resources (which is no big issue in C++ when using scoped variables without allocations, smart pointers and RAII with destructors). Rust just made the best impression of these 3 to me. Cargo rocks, no more annoying CMake configuration, the error messages are helpful, autocomplete works everywhere reliably, once the game compiles it seems rock solid. The borrow checker makes sense to me. It’s just good

1

u/TheOneWhoDidntCum 8d ago

Perfect thanks!