Glua
Languages and libraries
lua runtime
SHOW HN2017
70points
17comments
#633of 2,242 in 2017
Top 29%of 2017 by points
How HN took it
CuriousMostly questions and neutral comments
1 positive, 3 neutral or asking, 0 mixed, 1 critical, out of 5 comments about the project. Thread score +0.08.
Performance: 0 for, 1 againstIdea: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Commenters found it cool and welcomed the Lua-to-JavaScript idea
From 1 comment
Really cool! Reminds me of another awesome Lua->JS project called starlight: http://starlight.paulcuth.me.uk
etiene on HN
Objections
Running two garbage collectors side by side may leak memory
From 2 comments
This suffers from the same issue as https://daurnimator.github.io/lua.vm.js/lua.vm.js.html and others: there is 2 GC working side by side and it's bound to lead to never freed…
giann on HNThis isn't just because of 2 GC's working side by side. This happens to any memory that isn't a JavaScript object. So every asm.js and WebAssembly library is affected by the same…
CryZe on HN
Lua to Go to JavaScript chain is inefficient for performance
From 2 comments
Well, the original Lua VM is written in C, so it's more like C to Go to JavaScript.
russellsprouts on HNThis description made me chuckle. It reads to me like someone was intentionally concocting the most complex and least efficient method of programming a computer. I come from a…
shinymark on HN
Alternatives named
lua.vm.js
From 2 comments
Yes: https://daurnimator.github.io/lua.vm.js/lua.vm.js.html
fiatjaf on HNThis suffers from the same issue as https://daurnimator.github.io/lua.vm.js/lua.vm.js.html and others: there is 2 GC working side by side and it's bound to lead to never freed…
giann on HN
starlight
From 1 comment
Really cool! Reminds me of another awesome Lua->JS project called starlight: http://starlight.paulcuth.me.uk
etiene on HN
wasm_lua
From 1 comment
There is also one in WebAssembly: https://github.com/vvanders/wasm_lua
NiLSPACE on HN
gopher-lua
From 1 comment
This seems to be a thin wrapper for the actual Lua VM implemented in Go: https://github.com/yuin/gopher-lua
daliwali on HN
Emscripten-compiled Lua
From 1 comment
Yes [0] [0] https://news.ycombinator.com/item?id=5794772 | http://mozakai.blogspot.com.au/2013/05/lua-in-javascript-running-vm-in-vm.html
shakna on HN