On 2010-04-07 20:40:27 +0200, Sean Kelly <[email protected]> said:

It's still possible to build druntime with a custom GC. You can even have a "GC" that simply calls malloc/free if you avoid coding that relies on implicit collection of discarded memory. See gc_stub for an example. As for better GC implementations, there are a bunch of options, but I don't know that we can go so far as an incremental collector ala Java. That D can call C code causes problems there.

ah, I had been thinking about that. actually, you can call c code from java and .net. The point is that you have to take care about the memory you pass into the c function, and that which you get out. so there must be a sane way, right?

Best

Daniel

Reply via email to