3 ms·
>People typically don't use Java for performance-sensitive real-time-ish applications. Most modern games are written in C++ still. Operating system kernels are
by coldtea 7y ago
>People typically don't use Java for performance-sensitive real-time-ish applications. Most modern games are written in C++ still. Operating system kernels are written in C.
Those are 1/100th or less of the type of code people write everyday, in startups, enterprise, cloud apps, even regular desktop and mobile apps...
>When I think Java, what comes to my mind is something like LibreOffice.
That's written in C++
- abc_lisper 7y agoOuch! Rich Hickey, inventor of clojure came to same conclusion using lisps. He rewrote a system in lisp that was written in c++ before by him. He claimed that system written in lisp had far less concurrency issues, and was faster! He was a c++ advocate before that.
- overgard 7y agoC & C++ are #2 and #4 on the Tiobe index fwiw. It’s not like real-time is a niche.
- coldtea 7y agoReal time is indeed a niche (though a big one), but also it's hardly the reason C and C++ are #2 and #4 on Tiobe.
- overgard 7y agoVideo games are like a 43 billion dollar industry, and that's just a small slice of software that has real time requirements. Real time is very much a mainstream need. Hacker news just tends to be a bit of a bubble because people focus so much on web development and business logic here.
- coldtea 7y ago>Video games are like a 43 billion dollar industry, and that's just a small slice of software that has real time requirements. But still a tiny slither on what most programmers do. Most programmers (the overwhelming majority) do neither video games nor real time.