TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Node.js Interview: 4 Questions with Creator Ryan Dahl

30 点作者 kmccarth大约 14 年前

3 条评论

davidhollander大约 14 年前
&#62;<i>No matter what I did, someone was going to load an existing blocking Lua library in and ruin it. </i><p>I don't think this is the case, the most popular library for networking in Lua has been COPAS, which does nonblocking by using coroutines. And even the canonical guide to Lua, PiL <a href="http://www.lua.org/pil/" rel="nofollow">http://www.lua.org/pil/</a>, also has a chapter on using coroutines with LuaSocket to download multiple files asynchronously at the same time. Most complaints of Lua are about having <i>too</i> few libraries, so it's interesting to see an argument claiming it has too many.<p>If anyone is interested in a nonblocking networking library that uses <i>callbacks</i> (similar to node.JS) instead of coroutines for Lua and LuaJIT, I've started such a project here: <a href="https://github.com/davidhollander/ox" rel="nofollow">https://github.com/davidhollander/ox</a>
silentbicycle大约 14 年前
Previously: <a href="http://news.ycombinator.com/item?id=2163234" rel="nofollow">http://news.ycombinator.com/item?id=2163234</a>
评论 #2585055 未加载
chr15大约 14 年前
FYI from January 31, 2011.