Beeflang garbage seeker/collector

monkyyy crazymonkyyy at gmail.com
Tue Feb 20 19:02:13 UTC 2024


On Tuesday, 20 February 2024 at 16:40:28 UTC, Marconi wrote:
> In beeflang garbage collector (garbage seeker) do not clean the 
> memory, it only works in debug mode to help the programmer find 
> and fix memory leaks, double frees, etc. In release mode, the 
> program runs in full speed since there is no garbage collector. 
> I think this is the best approach about memory management.

Dlang as a dynamic array as a primitive `[]` its day 1 is 
provided by gc and turning off the gc breaks it.

Dlang doesn't have a robust ecosystem of easy to use data 
structures so the few we have are invaluable.

qed, ditching gc would require a massive change and it would 
break the vast majority of code(again primitive data type, ask 
python how changing strings went) /thread


More information about the Digitalmars-d mailing list