lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 8 February 2017 at 22:24, Alek Paunov <alex@declera.com> wrote:
> On 2017-02-08 02:24, Daurnimator wrote:
> ...
>>
>> The approach taken by Benoit is the *only* good way forward to get lua
>> working in in web browsers to full effect:
>>   - You need to use native javascript objects so that the javascript
>> garbage collector can do a full sweep
>>   - You need to use a VM dispatch *in* javascript (rather than a
>> source=>source transpiler) so that coroutines work correctly.
>>
>
> Isn't the Moonshine (http://moonshinejs.org) a project in that direction?

Yes moonshine was similar, so was brozula
(https://github.com/creationix/brozula)

Moonshine had a few major (but not unsolvable) issues, however the
author has abandoned it and moved onto a new project "Starlight"
(http://starlight.paulcuth.me.uk/) which no longer has a VM
architecture, and hence is incapable of implementing lua semantics for
coroutines.

I'm excited to see another project pop up with the VM architecture,
and am following along closely!