News for hackers. Stuff that matters.
Re:Facebook is using D in production starting today by albertzeyer on Friday October 11, 2013 @07:55AM (#6532521)
From Wikipedia:

"Memory is usually managed with garbage collection, but specific objects can be finalized immediately when they go out of scope. Explicit memory management is possible using the overloaded operators new and delete, and by simply calling C's malloc and free directly. Garbage collection can be controlled: programmers can add and exclude memory ranges from being observed by the collector, can disable and enable the collector and force a generational or a full collection cycle. The manual gives many examples of how to implement different highly optimized memory management schemes for when garbage collection is inadequate in a program."

I wonder if the GC is stop-the-world.

Re:Facebook is using D in production starting today by steveklabnik on Friday October 11, 2013 @08:15AM (#6532591)
From http://dlang.org/garbage.html :

> Stopping all other threads than the thread currently trying to allocate GC memory.

Re:Facebook is using D in production starting today by pcwalton on Friday October 11, 2013 @03:36PM (#6535411)
In D the garbage collector is stop-the-world and conservative, last I looked.