LuvitLua实现的Node.js
Luvit - Lua + UV + Jit = NodeJS re-implemented in Lua
如上面标题所描述的,Luvit 相当于 luajit2 + libuv,编译成单个可执行文件,类似 Node.js ,可运行 .lua 文件。
示例代码(创建一个HTTP服务器)
-- Load the http library local HTTP = require("lib/http") -- Create a simple nodeJS style hello-world server HTTP.create_server(function (req, res) res:write_head(200, { ["Content-Type"] = "text/plain", ["Content-Length"] = "11" }) res:write("Hello World") res:finish() end):listen(8080) -- Give a friendly message print("Server listening at http://localhost:8080/")
评论
Kademlia基于 Node.js 的 DHT 实现
Kademlia 是基于 Node.js 的 DHT (分布式哈希表)实现。使用方法:var dht
Kademlia基于 Node.js 的 DHT 实现
0
Snapshot.js基于 Node.js 实现的应用
Snapshot.js是一个基于Node.js实现的应用,可在5毫秒内对10万个模型数据进行轻松排序、分页和过滤。Demo:http://snapshot.wildhoney.io/依赖:Socket
Snapshot.js基于 Node.js 实现的应用
0
Snapshot.js基于 Node.js 实现的应用
Snapshot.js 是一个基于 Node.js 实现的应用,可在 5 毫秒内对 10 万个模型数
Snapshot.js基于 Node.js 实现的应用
0
Kademlia基于 Node.js 的 DHT 实现
Kademlia是基于Node.js的DHT(分布式哈希表)实现。使用方法:var dht = require('kademlia')var node = new dht.KNode({ addres
Kademlia基于 Node.js 的 DHT 实现
0
node-oracledbOracle 的 Node.js 驱动
node-oracledb是甲骨文公司官方发布的Oracle的Node.js驱动。目前最新版本0.2还是个预览版本,开发团队还在不断完善,包括对Windows平台的支持、LOB支持、批获取/大查询结果
node-oracledbOracle 的 Node.js 驱动
0