On 3/21/2014 5:39 PM, bearophile wrote:
That code must always be hard-real time. So a GC is allowed only during startup
time (unless it's a quite special GC), hidden heap allocations are forbidden,
data access patterns need to be carefully chosen, you even have to use most of
the hot part of the stack, etc.

These are all very doable in D, and I've written apps that do so. The "fear of GC" is completely overblown.

However, I do recognize that Phobos can be made a lot more non-GC friendly, and I am working on PR's to do that. For example,

https://github.com/D-Programming-Language/phobos/pull/2014

Reply via email to