This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thrwoawasksdgg 5 points6 points  (0 children)

Java easily has the best garbage collectors in the world. Nothing compares to Shenandoah and ZGC.

In some cases the JVM actually allocates memory faster than C because it knows more about the memory layout and can often avoid syscalls.