Chapel 有 HTTP 服务器吗?

Is there an HTTP server for Chapel?

一点背景知识:我想在 Chapel 中使用 Crate.io 数据库和 ODBC 驱动程序将我的 API 构建为 Azure(或 AppEngine)上的 docker 容器。

是否有可以与 Chapel 一起使用的 HTTP 服务器?

目前,Chapel 没有官方的 HTTP 服务器支持,但是 Chapel 团队确实计划在未来致力于此。

项目 "Write a web server in Chapel" 被列为建议项目 Chapel's Google Summer of Code (GSoC) page. For GSoC 2016 上的项目创意,Chapel 有几个申请人申请这个特定项目,其中之一 它甚至在 Chapel 编写了一个玩具网络服务器。然而,这个项目并没有 入选 GSoC 2016.

希望这个项目在不久的将来会受到更多关注。

再补充一点 - 请参阅 https://github.com/briangu/chearch/ for an example program that rolls its own server in Chapel. Also, note that ZeroMQ support is in progress in this pull request: https://github.com/chapel-lang/chapel/pull/3592。希望您可以从其中一种资源中找到替代解决方案,尽管我认为使用 stdout 和 CGI​​ 确实没有任何问题。

我们正在 https://github.com/marcoscleison/chapel-http 的一个简单的 http 服务器(基于 libevent2)中工作。 该项目处于初始提交阶段,但您可以看到并了解如何创建 http 服务器。