Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lua的垃圾回收机制 #20

Open
juckzhang opened this issue Jun 14, 2020 · 3 comments
Open

lua的垃圾回收机制 #20

juckzhang opened this issue Jun 14, 2020 · 3 comments

Comments

@juckzhang
Copy link

有幸拜读了作者的《自己动手实现Lua》一书,收益良多. 要是能把lua的垃圾回收机制也讲解下.那就更好了

@zxh0
Copy link
Owner

zxh0 commented Jun 14, 2020

谢谢反馈,如果有机会出第二版的话,可以考虑加上。

@123zmz123
Copy link

hello,是不是因为golang本身就有垃圾回收机制,因此用golang实现lua,相关垃圾回收就无需处理了?

@zxh0
Copy link
Owner

zxh0 commented Jan 14, 2021

从实现的角度,是这样的。目前的实现方式,是直接借用了Go的垃圾回收机制。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants