Re: Fengari: Why we rewrote Lua in JS
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Fengari: Why we rewrote Lua in JS
- From: Daurnimator <quae@...>
- Date: 2017年7月27日 11:11:54 +1000
On 27 July 2017 at 11:09, Daurnimator <quae@daurnimator.com> wrote:
> However the lua C api
> doesn't create out-of-band references: you create+manage lua
> references yourself.
I should rephrase:
The Lua C API doesn't permit out-of-band references between lua
objects: any references have to be created and dereferenced via
calling C api functions, hence meaning that the lua GC (and in
fengari's case, the JS GC) can do full sweeps.