Adding Java and C++ to the MQTT benchmarks or: How I Learned to Stop Worrying and Love the Garbage Collector

qznc qznc at web.de
Thu Jan 9 13:35:44 PST 2014


On Thursday, 9 January 2014 at 19:41:43 UTC, H. S. Teoh wrote:
> because if D can get a GC
> that's on par with Java's, then D can totally beat Java flat, 
> since the
> existence of value types greatly reduces the memory pressure on 
> the GC,
> so the GC will have much less work to do compared to an 
> equivalent Java
> program.

Java will probably gain (something like) value types at some 
point. Google for "packed objects", it provides similar gains as 
value types.

Hopefully, D gets a better GC first.


More information about the Digitalmars-d mailing list