How to implement a garbage collector?

前端 未结 8 549
灰色年华
灰色年华 2021-01-29 17:52

Could anyone point me to a good source on how to implement garbage collection? I am making a lisp-like interpreted language. It currently uses reference counting, but of course

8条回答
  •  清歌不尽
    2021-01-29 18:31

    Read Memory Management: Algorithms and Implementations in C/C++. It's a good place to start.

提交回复
热议问题