On Thu, 15 Jul 2010 21:34:36 +0300, Bane <branimir.milosavlje...@gmail.com> wrote:

Why not make D summer of code - write your own GC optimized for special case of XYZ, send it, bundle all up in D with compiler switch '--useGC=XYZ'. That is only way to really compare what is best for special case.

In D1, the garbage collector is actually compiled to a stand-alone library, but then it's statically linked into Phobos. If you edit the Phobos makefile a bit, you should then be able to specify the GC .lib to link to on the compiler/linker command-line.

In D2 it looks like the GC is clumped together with the runtime.

--
Best regards,
 Vladimir                            mailto:vladi...@thecybershadow.net

Reply via email to