Etiene / lua.space

The Lua Community Blog
http://lua.space
81 stars 18 forks source link

Why we rewrote Lua in JS #52

Closed giann closed 7 years ago

giann commented 7 years ago

A post about a project I've been working on with daurnimator for the past months.

mpeterv commented 7 years ago

This is a nice introductory post, I'd love to read more. In particular, it would be great to have benchmarks against alternatives mentioned in the post. It would also be nice to read about what problems arose (why is compliance only at 99%) and what are advantages and disadvantages of JS as a host language as opposed to C.

giann commented 7 years ago

99% is just the current progress. The missing features are io functions that don't translate well in Node. But it's not available in the browser so really it's 100% if you're in the browser.

We'll certainly write a follow up on the how later :)

daurnimator commented 7 years ago

There's also the missing lua_gc functionality

giann commented 7 years ago

Fixed typo and changed spread operator to vararg expression

Etiene commented 7 years ago

Great post! it's published now 💃