Java vs C

Rm 621 June 27, 2017 11:15 AM - 12:15 PM

Bookmark and Share

Dr. Cliff Click

Is Java faster than C/C++? The short answer is: it depends. Faster BOGOmips? Faster-to-market? Faster to debug? can run my pacemaker? webserver? People have different goals, and some languages are better than others at different tasks (e.g. it’s really hard to write an OS in Java (but people are trying!), and C/C++’s GC support is obviously weaker than Java’s). More commonly, people use different measurement techniques (frequently flawed ones), often measure things that are uninteresting to themselves (but easy to measure), skip the different goals & requirements discussion, and go straight to a flamewar. This talk is my attempt to shed some light on the situation: I take my best shot at a balanced presentation of the strengths (good) and weaknesses (bad) of both languages, the common measurement failures (ugly), and bring some sane discourse to this charged subject.