4 ms·
There is still an unfathomably huge landscape of problems where C++ is the more mature, “right” choice over rust for new projects. Just from my (extremely limit
by _hl_ 2y ago
There is still an unfathomably huge landscape of problems where C++ is the more mature, “right” choice over rust for new projects. Just from my (extremely limited and narrow) personal experience:
- scientific/numerical computing (super mature)
- domain-specific high performance computing (C++ is for better or worse extremely flexible)
- weird CUDA use cases (feels very native in C++)
- game dev as you mention
- probably much much more
C++ to me feels more like a meta-language where you go off to build your own kind of high performance DSL. Rust is much more rigid, which is probably a good thing for many “standard” use cases. But I’m sure there will always be a very very long tail of these niche projects where the flexibility comes in handy.
- zrules 2y agoOpencv while not niche is also one of them. It’s definitely preventing me from going full in on rust. Probably for a while. This Reddit comment captures my reasons pretty well: https://www.reddit.com/r/rust/comments/1arys3z/comment/kqoak17/ https://www.reddit.com/r/rust/comments/1arys3z/comment/kqoak...