Hacker News new | ask | show | jobs
by ogoffart 209 days ago
Of course Rust can handle those use cases fine (GUIs, web browsers, and game engines).

C++ is still high on the TIOBE index mainly because it is indeed old and used in a lot of legacy systems. For new projects, though, there's less reason to choose C++.

2 comments

Web browsers, yes. With GUIs and games, it's a less clear. Of course you can write GUIs and games in any Turing complete language but there's still a lot of work to be done in finding the right ergonomics in Rust [1, 2].

[1] https://www.warp.dev/blog/why-is-building-a-ui-in-rust-so-ha...

[2] https://loglog.games/blog/leaving-rust-gamedev/

You are saying "With GUIs and games" as if there is any GUI framework or game engine that doesn't suck.
It's still high because it solves real world problems, so it's still the gold standard for anything ranging from systems programming to scientific computing.