blog.lilydjwg.me
编程 - 依云's Blog
http://blog.lilydjwg.me/categories/6585/posts
Happy coding, happy living! 然而没人去对此猜测进行求证……我去确认了一下,Redis 收到了请求,并且响应正常。 真相就是,代码里有个 } 的位置放错了,因为它刚好在一屏之后的位置,所以没有人发现…… 是 Vim 帮我找到的. 你写 Web 后端的话,普通的 HTTP 得懂,浏览器的开发者工具得会用。 再比如如果你使用 CPython 的话,你要准备一份 CPython 的源码,并且要能够流畅地阅读 C 代码。 比如 strace、lsof、gdb、git bisect,还有高级点的 sysdig、systemtap、perf 等等。 当然还有一堆不是专门为调试而设计的通用工具,比如 the silver searcher. 你不必成为正则表达式大师,但是简单的一定要会,不然面对上千个匹配结果你要怎么办呢 Vim 有一个插件 Mark. 的 Rust 前不久发布了 alpha 版。 而这次是看到 Rust for beginners. 以及已经被合并到 The Rust Programming Language. 于是才有了 我的第一个 Rust 程序. Dir) ); Ok.
yichunzhang.wordpress.com
一个关于动态应用单核千级 rps 的传说 | Human & Machine
https://yichunzhang.wordpress.com/2010/02/03/一个关于动态应用单核千级-rps-的传说
Agentzh's Funhouse for Computing. Ngx drizzle v0.0.7: now running on *BSD. Start tweeting →. February 3, 2010. 我们在过去的四个月中,已经开发了 8 个 nginx C 模块 第 8 个这两天刚放到 GitHub 上面,名为 ngx set misc. 我们的一个方向是几个客户端 .js 文件 几个 .html/.css 文件 nginx.conf 一个 mysql/oracle/pgsql 数据库,就轻松搞定一个完整的交互式 web 应用,或者至少是一个很复杂应用的一部分。 不幸的是,业界的一些同仁对这种应用开发模式产生了质疑,认为我们对 nginx 的各种应用层面的扩展让 nginx 自身变得臃肿和低效。 服务器端使用的 nginx.conf 文件在这里 http:/ agentzh.org/misc/nginx.conf. 都是认真书写的高度可复用的 C 代码来完成原先 PHP 等代码来完成的事情,. 根据模版渲染 HTML 展现的工作现在改由客户浏览器去做了,通过 Jemplate.
blog.codingnow.com
云风的 BLOG: lua与虚拟机 Archives
http://blog.codingnow.com/eo/luaoeeeaeau
June 23, 2016. 在 Lua 5.2 之后的版本,约定了在元表中可以给出一个. 方法,而 lua 的基础库 pairs 会使用这个元方法来迭代一个对象。 Lua 53 之后的版本,取消了 lua 5.2 中的. 今天我在改进 bson 的序列化库时,重新考虑了这个问题,看看这个序列化过程怎么做,才能更好的支持 lua 5.3 以后的约定。 Posted by 云风 at 04:42 PM. April 12, 2016. 今天花了一天尝试给 lua vm 做了一点优化. 现在 lua 的函数原型里保留有一张常量表,引用了 string ,number ,nil ,boolean 类型的常量。 For , v in ipairs { "one", "two", "three" } do. 其实每次都会临时构建一张表,并依次插入 "one", "two", "three"。 Function foo() return { x=1, y=2 } end. 每次 foo 函数都会为返回值重新构建 table。 Posted by 云风 at 04:43 PM. January 17, 2016.
luajit.org
The LuaJIT Project
http://luajit.org/index.html
This is the common project page for:. Mdash; a Just-In-Time Compiler. Mdash; a Lua extension for True C Coroutines. Mdash; a Dynamic Assembler. For code generation engines. Mdash; a Lua extension for bitwise operations. LuaJIT 2.1.0-beta2 has been released. LuaJIT 2.1.0-beta2 is available for download. This is the second beta release for the new v2.1 branch. Apart from various internal changes compared to beta1, the major new feature is MIPS soft-float support. Looking for new LuaJIT maintainers.
en.wikipedia.org
Green threads - Wikipedia, the free encyclopedia
https://en.wikipedia.org/wiki/Green_threads
From Wikipedia, the free encyclopedia. This article needs additional citations for verification. Please help improve this article. By adding citations to reliable sources. Unsourced material may be challenged and removed. Learn how and when to remove this template message. That are scheduled by a runtime library. VM) instead of natively by the underlying operating system. Green threads emulate multithreaded environments without relying on any native OS capabilities, and they are managed in user space.
lua-users.org
lua-users wiki: Multi Tasking
http://lua-users.org/wiki/MultiTasking
This page contains links and/or discussions related to multitasking/multithreading/parallelization [1]. Standard Lua coroutines [2]. 51) - true C coroutines for Lua (yield from anywhere). 51/52) - cooperative C-level scheduler, in some ways like Coco. High memory efficiency. Win32 (Win64 soon) and Linux x86/64. 51/52/5.3) - a dispatcher based on coroutines and LuaSocket? That can be used by request/response servers. 51) - a binding to libevent, offers a coroutine dispatcher a-la Copas. 51/52) - completel...