是否有Chapel的HTTP服务器?

时间:2016-08-31 07:18:01

标签: chapel

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

我可以在Chapel中使用HTTP服务器吗?

3 个答案:

答案 0 :(得分:3)

Currently, there is no official HTTP server support in Chapel, but the Chapel team does plan to work on this in the future.

The project "Write a web server in Chapel" is listed as a suggested project idea on Chapel's Google Summer of Code (GSoC) page. For GSoC 2016, Chapel had several applicants for this specific project, one of which even coded up a toy web server in Chapel. However, this project was not selected for GSoC 2016.

Hopefully this is a project that will get more attention in the near future.

答案 1 :(得分:2)

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

答案 2 :(得分:1)

还有一点需要注意 - 请参阅https://github.com/briangu/chearch/,了解在Chapel中推出自己的服务器的示例程序。另请注意,此拉取请求中的ZeroMQ支持正在进行中:https://github.com/chapel-lang/chapel/pull/3592。希望您可以从其中一个资源中找到替代解决方案,尽管我认为使用stdout和CGI确实没有任何问题。