>run code on C that does "thing"
>0.00136 seconds later, it returns the result.
>run code on Java that does the same "thing"
>2 seconds later, it returns the result.
Javatards will defend this.
>write code on C that does "thing"
>300 lines later, the program is done
>write code on Java that does "thing"
>50 lines later, the program is done
Non-systems-programming programmers will defend this.
And what is this "thing"? A full, working application that solves a real-world problem?
Or some shitty one-line hello world?
What is this even supposed to mean, retard? No one is pointing a gun at millions of coders to make their programs in Java. Java is the most popular because its the most powerful language.
You've just proved my point. Which is you take literally two lines of code in C and Java and think you've made a worthwhile comparison.
Why not compare actual, functioning applications?
Nice tripdubs, but you're retarded and you don't know what you're talking about.
Total of gziped code sizes (which is only a fair comparison if you're using an IDE with autocomplete, if not then C wins):
But total time taken:
Great victory for C, Java is 69% slower.
>most powerful language
>>Writing on an OS probably written in C
>> Written by people with actual jobs
Shitty b8. 0/10
Ideally this too, but it took a hacked version of .net called mono.
If OP wanted a real comparison, he should have used python or php. C does shit in 50ns that php will do in 50ms, yes 1000 times slower. You try making a graph of that. Meanwhile, php devs are currently jizzing over the fact that php 7 is three times faster... And still hundreds of times slower than most other languages.