4 ms·
C is not a fast language outside of microbenchmarks. If you’re writing large systems Java is the fastest language. Go benchmark Jetty vs Apache when serving n
by admax88qqq 2y ago
C is not a fast language outside of microbenchmarks.
If you’re writing large systems Java is the fastest language. Go benchmark Jetty vs Apache when serving non trivial web apps. Java is actually amazingly fast but it feels slow due purely because it starts up slower, startup time is not an issue for long running applications.
Heck just look at Apache Lucene the gold standard of full text search.
- optymizer 2y agoYou must be trolling. This is just patently false. Please don't spread misinformation. Your comment is confusing "fast enough" with "fastest". Java is fast enough for lots of applications and that's fine, particularly because large systems are usually I/O bound, but it makes no sense to conclude that it is therefore faster than C. I've been writing Java code for the past 10 years. Do you know how people speed up Java applications? They write the code in C, compile it as a library and use JNI to invoke it. I would recommend you brush up on your CS fundamentals.