Rom Wrote:
> Hi pal,
>
> i also downloaded the dmc.zip. I extracted it and found link.exe there. I
> tried
> to copy it on the dmd bin directory but i got a lots of error.
you should extract whole dmc archive, also check dmd configuration.
Jarrett Billingsley Wrote:
> You.. can't actually allocate a static array on the heap using new.
> At least not directly. It's kind of an embarrassing hole in the
> syntax. In fact, I'm not sure if you can even get a static array to
> point onto the heap, since a static array "reference" is trea
Jarrett Billingsley Wrote:
> Long story short - why use D if you aren't going to be able to take
> advantage of the very things that make it cool?
Not only GC makes it cool. D has a number of other features.
ViktorKrescvohn Wrote:
> i used to c-style pointer heavy programming, is it wise to code c-style on d
> platfrom, i mean by turning off GC and stuff.
I think, turning off GC is possible if you rewrite Phobos or get rid of it
completely.
bearophile Wrote:
> What's the purpose of a separated hash_t type? Can't it be removed, keeping
> just an uint or size_t for that purpose?
there are different hash algorithms, so hash_t is not forced to be size_t.
nobody Wrote:
> >I think, caller should manage array.
> How should I do this?
> Should I return a boolean set to true if it should be deleted or better,
> what is the best way to do this?
this is a design decision, it depends on what you are trying to do.
I think, caller should manage array.