Memory issues. GC not giving back memory to OS?

Arun Chandrasekaran aruncxy at gmail.com
Wed Apr 22 07:25:34 UTC 2020


On Tuesday, 21 April 2020 at 20:29:37 UTC, Steven Schveighoffer 
wrote:
> 
> C++ frees the original memory immediately when growing. So it's 
> going to be more memory efficient. You are never going to match 
> a manually managed memory efficiency in terms of space used 
> with a GC.
>

How much of Phobos is betterC compatible?

I encountered the same issues with GC couple of years ago and 
abandoned our plans to migrate from C++ to D for one of our core 
products. (I'm not encouraging anyone to do the same, do your own 
analysis and take the decision.)

To see recent posts about chasing Rust with @live with all these 
existing baggage... Hmm.. Don't know what to say... This might 
excite a PL theorist/researcher, but not a programmer who can't 
get his app to work in the most basic form...

Walter, memory efficiency first please, arcane safety later.

--
If you don't have anything nice to say, don't say anything at all.


More information about the Digitalmars-d mailing list