Link to home
Start Free TrialLog in
Avatar of learner-security
learner-security

asked on

java vs c++: for Native programming including Operating System calls?

Does C++  provide anything special for Native programming including Operating System calls? What is that? Also, someone working in music streaming said that they had to use C++ where Java wasn't the answer. What will be those scenarios? Scalability, code deployment on different platforms, efficiency, security - are any of these the reasons?
ASKER CERTIFIED SOLUTION
Avatar of dpearson
dpearson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of learner-security
learner-security

ASKER

Thanks Doug!
I am guessing almost all OS are written in C/C++? Isn't Java itself is written in C/C++?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Doug!  That does sound clever.

However, Java does have Runtime r = Runtime.getRuntime(); where someone call System calls. How is that different than calling OS calls from C++?


And if we don't have a way to make OS calls in Java, do we make call to C++ code from Java?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial