Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Java GC has to be very good considering Java could take 10 times more memory for typical data structures compared to memory efficient layouts.


Not sure if sarcastic, but that has nothing to do with the quality of a GC algorithm. Sure, Java does not (yet) have value types so data structures with non-primitive elements will not have the most optimal layout, but java does objectively have the state of the art GC implementations that work under so high allocation rates that other GCs simply break down. Eg. Go notably slows down threads to let the GC catch up with the work load.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: