4 ms·
personally i was surprised node.js wasn't node.lua in the first place
by tokipin 14y ago
personally i was surprised node.js wasn't node.lua in the first place
- andrewflnr 14y agoI think part of the idea of node was to use the same language on the front end and back end.
- tbranyen 14y agoLua provides blocking FS methods. Node.js was designed with a language that had no notion of I/O so that the methods could all be async.
- telemachos 14y agoApparenly Ryan Dahl considered Lua, but he rejected it because "Lua is less ideal but a lovely language - I did not like that it already had a lot of libraries written with blocking code. No matter what I did, someone was going to load an existing blocking Lua library in and ruin it."[1] [1] http://bostinno.com/2011/01/31/node-js-interview-4-questions-with-creator-ryan-dahl/ http://bostinno.com/2011/01/31/node-js-interview-4-questions...