Go vs. D [was Re: Rust vs Dlang]
Walter Bright
newshound2 at digitalmars.com
Tue Mar 26 03:08:07 PDT 2013
On 3/26/2013 3:04 AM, Walter Bright wrote:
> On 3/26/2013 2:38 AM, Rory McGuire wrote:
>> Thanks I remember about the -profile switch but I don't see memory usage there.
>
> -profile and -cov do not track memory usage.
>
>> If you see your program using more and more memory even though it should not be
>> how do you check where the problem is?
>
> I've written memory usage profilers before, but haven't done one for D. You're
> the first to ask for one.
Now that I think about it, it wouldn't be that hard to add memory allocated per
function when using -profile.
But my larger point is how simple it is to use -cov and -profile; it's hard to
imagine it being any easier.
More information about the Digitalmars-d-announce
mailing list