3 ms·
> We believe JavaScript is the natural choice for dynamic language tooling; whether in a browser environment or as standalone processes. I disagree with this a
by VWWHFSfQ 6y ago
> We believe JavaScript is the natural choice for dynamic language tooling; whether in a browser environment or as standalone processes.
I disagree with this assessment. Lua is still far superior as an embed-able scripting language/runtime. I suspect the preference for JavaScript is mostly due to the Deno developers' familiarity and preference.
- tills13 6y ago> Lua is far superior I disagree with this assessment.
- VWWHFSfQ 6y agoLuaJIT is nearly 3x faster than V8 JavaScript the last time I checked. Just anecodal DDG search [0]. Maybe V8 has gotten faster since the last time I checked. [0] https://duckduckgo.com/?t=ffab&q=is+luajit+faster+than+v8+javascript%3F https://duckduckgo.com/?t=ffab&q=is+luajit+faster+than+v8+ja...
- rosywoozlechan 6y agoLua also has a smaller footprint I think.
- hombre_fatal 6y agoIt has a worse standard library than Javascript. And its static typing solutions don't compare to Typescript.
- wyozi 6y agoFunnily enough the state of art in typed lua is typescript: https://github.com/TypeScriptToLua/TypeScriptToLua https://github.com/TypeScriptToLua/TypeScriptToLua
- afiori 6y agoI think a big part of the point is to build a js runtime for existing js code and libraries. Probably it will not replace node soon, but it is a possible outcome. Also didn't luajit had the problem that it would never move to more recent version of lua? I remember that some years ago there was some talking about this.
- mrkurt 6y agoIt depends what you mean by "superior". JavaScript (well v8) is far safer as a scripting runtime. And there are a ton of existing JS libs for solving problems. AND there's TypeScript, which is pretty great.
- gameswithgo 6y agoi suspect it is more that the whole world is familiar.