1 votes 1 votes Why c is faster than java. Programming in C programming + – Sourabh Kumar asked Feb 13, 2016 retagged Feb 13, 2016 by Sourabh Kumar Sourabh Kumar 981 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Actually this is very long topic to discuss about! If you want to dig deep, check this out http://stackoverflow.com/questions/418914/why-is-c-so-fast-and-why-arent-other-languages-as-fast-or-faster Also there are many posts/blogs are there about it. Few reasons : Java is purely High level language while C is kind of Middle level language, Java uses byte code and Just in time compilation, C programs executes directly. Java(bytecode) needs to be cross platform, C is not that kind of portable Java supports garbage collector and its own GUI(Like swing and FX),C does not. and so on. Even most of the part of Java and many HLL languages are written in C ;) Shashank Chavan answered Feb 14, 2016 edited Feb 14, 2016 by Shashank Chavan Shashank Chavan comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Since, we need to make byte code first out of the high level code and then that byte code is interpreted by java run time interpreter, while in C there is no such extra step. So, C is comparatively faster. monanshi answered Feb 14, 2016 monanshi comment Share Follow See all 0 reply Please log in or register to add a comment.