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

Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com> Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>
Thu Jan 9 06:57:30 PST 2014


On Thursday, 9 January 2014 at 14:40:16 UTC, Paulo Pinto wrote:
> On a game you might miss a few rendering frames, a GC induced
> delay on a missile tracking system might turn out a bit ugly.

You have GC in games, but you limit it to a small set of objects 
(<50000?)
So you can have real time with GC with an upper-bound.

Putting everything under GC is probably not a future proof 
concept, since memory capacity most likely will increase faster 
than CPU speed for technical reasons.

> However, unless you target systems without an OS, you'll have 
> anyway the OS making whatever it wants with the existing cores.

Yes, but you don't blame the application if the scheduler isn't 
real time friendly. Linux has been a been kind of bad, because 
distributions have been focused on servers. But you find real 
time friendly schedulers too.


More information about the Digitalmars-d mailing list