4 ms·
Which is the majority of applications nowadays.
by nendroid 6y ago
Which is the majority of applications nowadays.
- winrid 6y agoYou would use C++ for a service or very focused component that does one thing well (like a database, or crunching numbers). For those, even Rust is not always a good answer. You shouldn't use C++ as the backend for your marketing site, or some simple crud backend where a JIT runtime with GC will do. Hell, if you're even building a small compiler today a JVM language or Go is a better choice. But if you need to allocate memory yourself, C/C++ is very hard to beat. Games and systems dealing with huge chunks of memory will always go this route... and just (most likely) copy the dependencies into version control and deal with things that way. It doesn't matter if the majority of applications are web applications. That doesn't make C++ less relevant because that was never the target audience.