4 ms·
Users can sometimes see security failures (e. g. ransomware, data loss) as well as performance failures. If it's only about speed you could argue games could h
by irundebian 8y ago
Users can sometimes see security failures (e. g. ransomware, data loss) as well as performance failures.
If it's only about speed you could argue games could have been written in C, I think C++ is used because it give the best trade-off between performance and productivity/software maintenance.
Imagine that people perfectly lived with lower computing resources few years ago and a small amount of performance gains could be traded in favor for security leading to a world with less security nightmares.
I think Javas misplacement in safety-critical or real-time-critical environments is not primarily because of its low performance, but because of its non-determinism. The most important thing in real-time applications is not primarily performance but rather timeliness.
Safety-critical or mission critical environments (aviation, military) often prefer Ada or its safer subset SPARK over error-prone languages such as C.