TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Kcgi – minimal CGI and FastCGI library for C/C++

13 点作者 katzeilla将近 4 年前

1 comment

Seirdy将近 4 年前
I briefly toyed around with Kcgi when I was setting up a neat little Libravatar[0] implementation[1] I found.<p>[0]: <a href="https:&#x2F;&#x2F;www.libravatar.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.libravatar.org&#x2F;</a><p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;tleguern&#x2F;libravatar.cgi" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tleguern&#x2F;libravatar.cgi</a><p>I eventually dropped that implementation in favor of a pure static implementation in pure Nginx, but it was less unpleasant to work with than other (Fast)CGI libraries I&#x27;ve tried.<p>It goes well with the rest of the BCHS stack[2] of OpenBSD, C, OpenBSD httpd, and Sqlite. Some say that BCHS is impractical due to an aversion of writing C for server-side applications, but I find it perfectly adequate for tiny CGI programs that don&#x27;t need a big framework.<p>[2]: <a href="https:&#x2F;&#x2F;learnbchs.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;learnbchs.org&#x2F;</a>