r/learnjava • • Nov 03 '20

Why is c faster than java?

If I were to make the same thing in java would it now be as fast ?

58 Upvotes

26 comments sorted by

View all comments

0

u/[deleted] Nov 03 '20

[deleted]

6

u/IIwarrierII Nov 03 '20

Thanks for the explanation but what do you mean specifically by saying c can do more? Pointers allow C to do memory management manually compared to java’s garbage collector but in terms of capability did you mean speed and pointers ? Like what could be an example of something that java can’t do that c can if we get pass the pointers concept.

0

u/[deleted] Nov 03 '20

[deleted]

4

u/IIwarrierII Nov 03 '20

Thanks a lot.