On 12/11/2011 4:13 AM, Paulo Pinto wrote:
Am 10.12.2011 21:35, schrieb Andrei Alexandrescu:
On 12/10/11 2:22 PM, maarten van damme wrote:
Just for fun I
wanted to create a program as little as possible, compiled without
garbage collector/phobos/... and it turned out that compiling without
garbage collector is pretty much impossible (memory leaks all around the
place in druntime). dynamic linking for the d standard library would be
a great new option for a dmd release in the future :).

Using D without GC is an interesting direction, and dynamic linking
should be available relatively soon.


Andrei

As a long time beliver in systems programming languages with GC support
(Modula-3, Oberon, Sing#, ...), I think allowing this in D is the wrong
direction.

Sure provinding APIs to control GC behavior makes sense, but not turn it
off, we already have enough languages to do systems programming without GC.

If you are doing Embedded Systems programming Dynamic memory and GC are pretty much a no no. Perhaps the compiler needs a No GC check to make sure when flaged that no GC/GC Managed memory is used. This would disable soem features but allow for this need.

Reply via email to