News for hackers. Stuff that matters.
Re:Deno 1.0 by VWWHFSfQ on Wednesday May 13, 2020 @07:18PM (#23173005)
> 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.

Re:Deno 1.0 by tills13 on Wednesday May 13, 2020 @07:21PM (#23173039)
> Lua is far superior

I disagree with this assessment.

Re:Deno 1.0 by VWWHFSfQ on Wednesday May 13, 2020 @07:27PM (#23173093)
LuaJIT 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+ja...

Re:Deno 1.0 by afiori on Wednesday May 13, 2020 @07:56PM (#23173332)
I 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.

Re:Deno 1.0 by rosywoozlechan on Wednesday May 13, 2020 @07:34PM (#23173157)
Lua also has a smaller footprint I think.
Re:Deno 1.0 by hombre_fatal on Wednesday May 13, 2020 @07:52PM (#23173304)
It has a worse standard library than Javascript. And its static typing solutions don't compare to Typescript.
Re:Deno 1.0 by wyozi on Wednesday May 13, 2020 @09:19PM (#23174052)
Funnily enough the state of art in typed lua is typescript: https://github.com/TypeScriptToLua/TypeScriptToLua
Re:Deno 1.0 by mrkurt on Wednesday May 13, 2020 @07:28PM (#23173102)
It 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.
Re:Deno 1.0 by gameswithgo on Wednesday May 13, 2020 @07:30PM (#23173117)
i suspect it is more that the whole world is familiar.