3 ms·
> writing a garbage collector has been harder than I expected. That is exactly why I have chosen to use a library for (shameless plug) Next Generation Shell. E
by ilyash 6y ago
> writing a garbage collector has been harder than I expected.
That is exactly why I have chosen to use a library for (shameless plug) Next Generation Shell. Edit: Well, not exactly. I did expect. At the start of the project it looked roughly the same amount of effort as the rest of the language (at least some early version of the language).
The library: https://en.wikipedia.org/wiki/Boehm_garbage_collector https://en.wikipedia.org/wiki/Boehm_garbage_collector
This decision can be reviewed when performance or other requirements become clear. Meanwhile I have invested relatively small amount of time into integrating the GC library.