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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Woo: Fast HTTP Server in Common Lisp

100 点作者 momo-reina超过 10 年前

10 条评论

dschiptsov超过 10 年前
What is interesting here is to compare this one man&#x27;s effort with &quot;ancient tools&quot; well-researched by two generations of old-school programmers with that amateurish hype and nonsense about node (author publicly stated in his blog that he has no experience with server side development on a POSIX system) and golang - a minimalist approach, carefully crafted by a rigorously trained &quot;professionals&quot;. It is not just about KBs and milliseconds.<p>Btw, this &quot;Hello world&quot; example tells a little, basically, how efficiently memory allocation, and IO layer are implemented (that&#x27;s why no one still could beat nginx).<p>Much more interesting comparison would be of some &quot;real-world scenario&quot;, say, &quot;implement an http look up for some public data-set, imported into a <i>persistent</i> local storage, say, Postgresql&quot; and then compare not just throughput rates, but also resource usage.
评论 #8802735 未加载
评论 #8804204 未加载
kjksf超过 10 年前
It&#x27;s not really written in Common Lisp.<p>&quot;built on top of libev&quot;<p>The lisp part is a thin ffi wrapper on top of lots of C code.<p>Not than an ffi wrapper around C code isn&#x27;t useful, but it&#x27;s C code that does all the heavy lifting there.
评论 #8802297 未加载
评论 #8802251 未加载
评论 #8802243 未加载
gaigepr超过 10 年前
It makes me really happy to see projects like this for common lisp. I still relatively new to the lisp world but I have fallen in love with the language and development process.
joosters超过 10 年前
I see so many &#x27;blazing fast&#x27; HTTP servers, in every language imaginable. Does anyone write a slow HTTP server any more?<p>The real challenge is in writing a useful, useable server which still stays fast under load. In contrast, you have to be writing terrible coding horrors for your home-grown static file web server <i>NOT</i> to be wire-speed :)<p>(No offence to the writers of this particular server, I haven&#x27;t looked at the code)
评论 #8802349 未加载
hedwall超过 10 年前
When I see someone doing benchmarks like this against localhost i get skeptical. Race conditions might very well be present.
bayesianhorse超过 10 年前
Lately I began to study information security in more detail. Isn&#x27;t the &quot;code is data&quot; philosophy of common lisp a nightmare for a web server?
评论 #8802800 未加载
评论 #8802148 未加载
评论 #8802145 未加载
评论 #8802375 未加载
评论 #8803032 未加载
dom96超过 10 年前
How did you generate those pretty graphs?
aikah超过 10 年前
When doing a speed benchmark,I consider the memory profile to be as relevant as the number of requests per second.
bodokaiser超过 10 年前
Why not use libuv right away?
评论 #8803333 未加载
Immortalin超过 10 年前
One of the greatest barriers to lisp for me is the lack of free IDEs and better tooling. Having cut my teeth in programming using VB, I generally find any language that doesn&#x27;t come with a GUI builder and a half-decent IDE with intellisense out of the box to be dismal.(Scripting languages is the exception) I really hope someone will improve on the tooling of lisp. I strongly believe in the mantra that you should not do something that the computer the computer can do better, I believe a smart intellisense autocompletion is much better than having to figure out the intricacies of emacs&#x2F;vim&#x2F;&lt;insert your favourite editor here&gt;. I really like the syntax of lisp, it would be really sad if I can&#x27;t be productive with it. :(
评论 #8803063 未加载
评论 #8803054 未加载
评论 #8803087 未加载
评论 #8803036 未加载