4 ms·
I'm honestly amazed people say this about Java, because the language almost couldn't be worse at giving you tools to use memory efficiently. There's no value t
by astrange 1y ago
I'm honestly amazed people say this about Java, because the language almost couldn't be worse at giving you tools to use memory efficiently.
There's no value types (outside primitives) and everything is about pointer chasing. And surely if there was less pointer chasing it'd be easier to do the GC work at the same time.
- vips7L 1y agoWhen people talk about GC performance they’re not talking about using memory efficiently. They’re talking about how fast the GC can allocate and how long it will stop the world when it needs to collect. In both of these areas you won’t find GCs better than the ones provided by HotSpot. Even with what you mention, pointer chasing and lack of structs, they still outperform other implementations.