Why is C preferred instead of Java in most of the real time applications? For example, air-line system. I want some reasons except that Java is little slow.
There are a number of reasons:
There is a real time version of Java, but I don't know how widely it's used.
I'm not sure that the conclusion of C/C++ always being faster than Java is still true for JDK 6. A lot has changed since the 1.0 version when a lot of the benchmarks were performed (e.g., faster object creation, new memory model, new generational GC algorithms, revised reflection, etc.).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With