What's the state of deterministic GC in D, or alternatively being
able to disable the GC?
I've been looking into languages to implement a real-time testing
system and had thought of D, but AFAICT the GC makes it
unsuitable. The CGCD effort looks to be moving in the right
direction, but it would
On Wed, 28 Jan 2015 06:58:41 +, Tom wrote:
> Or is there now the possibility of disabling the GC altogether, or
> replacing it with a refcounting 'GC' etc?
you still can do manual memory management with `malloc()` and friends.
but you must be very cautious with dynamic arrays and slices. may
http://dlang.org/phobos/core_memory.html#.GC.disable ?
Some people including myself write D with only minimal runtime
(bare metal profile). Is it what you're looking for?
On Wednesday, 28 January 2015 at 06:58:42 UTC, Tom wrote:
Or is there now the possibility of disabling the GC altogether,
or replacing it with a refcounting 'GC' etc?
You can disable the GC:
http://dlang.org/phobos/core_memory.html#.GC.disable
There is a RefCounted struct in the standard l
On Wednesday, 28 January 2015 at 07:43:35 UTC, ketmar wrote:
On Wed, 28 Jan 2015 06:58:41 +, Tom wrote:
Or is there now the possibility of disabling the GC
altogether, or
replacing it with a refcounting 'GC' etc?
you still can do manual memory management with `malloc()` and
friends.
but
On 01/28/2015 09:12 AM, Mike wrote:
Note that D has 3 built-in types: exceptions, dynamic arrays, and
associative arrays, that may be difficult to use without the GC:
http://dlang.org/builtin.html.
4 actually, if you count delegate closures.
http://dlang.org/function.html#closures
On Friday, 30 January 2015 at 11:54:54 UTC, Martin Nowak wrote:
On 01/28/2015 09:12 AM, Mike wrote:
Note that D has 3 built-in types: exceptions, dynamic arrays,
and
associative arrays, that may be difficult to use without the
GC:
http://dlang.org/builtin.html.
4 actually, if you count del
On Wednesday, 26 October 2016 at 16:15:19 UTC, Tom wrote:
My apologies for posting a question and then disappearing for
eighteen months. I thought it might be useful if I posted some
feedback here.
We ended up going with Lua here. The main point in favour was
the iterative GC which can be i
On Wednesday, 28 January 2015 at 07:43:35 UTC, ketmar wrote:
On Wed, 28 Jan 2015 06:58:41 +, Tom wrote:
Or is there now the possibility of disabling the GC
altogether, or replacing it with a refcounting 'GC' etc?
you still can do manual memory management with `malloc()` and
friends. but
On Wednesday, 28 January 2015 at 08:12:25 UTC, Mike wrote:
On Wednesday, 28 January 2015 at 06:58:42 UTC, Tom wrote:
Or is there now the possibility of disabling the GC altogether,
or replacing it with a refcounting 'GC' etc?
You can disable the GC:
http://dlang.org/phobos/core_memory.html#
10 matches
Mail list logo