Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道 Opa 使用什么后端平台与浏览器进行通信。
我的猜测是 Node.js。
Opa 有自己的应用服务器。无需额外申请。
我们有自己的调度程序来处理网络事件和客户端计算(我们使用协作线程)。我们编写了一种特定于协议的语言并用它构建了一个 http 服务器。
查看编译器源代码(检查调度程序appruntime/和libnet/网络库): https ://github.com/MLstate/opalang
appruntime/
libnet/
Opa 已将其默认后端平台切换到 Node.js。