首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX
›
PHP
老外做了一个 semi-coroutine 的框架 amp
gouchaoer
·
2017 年 11 月 9 日
· 1998 次点击
这是一个创建于 2987 天前的主题,其中的信息可能已经有所发展或是发生改变。
就这半年的事情:
https://github.com/amphp/amp
作者出来推广:
https://www.reddit.com/r/PHP/comments/7bc1yv/the_magic_behind_async_php
在基于 yield/generator 的半协程里这个文档不错,而且可行性也很好,可是还是只能用单核,没有 swoole 那样的完善的多进程分工,而且老实说 yield 用起来没有真的 coroutine 用起来简单,这个比较合适写点 php-cli 的小玩意儿类似爬虫之类的吧
目前尚无回复
yield
协程
php-cli
coroutine
关于
·
帮助文档
·
自助推广系统
·
博客
·
API
·
FAQ
·
Solana
·
3434 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 35ms ·
UTC 11:21
·
PVG 19:21
·
LAX 03:21
·
JFK 06:21
♥ Do have faith in what you're doing.
❯