TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Woo: Fast HTTP Server in Common Lisp

100 pointsby momo-reinaover 10 years ago

10 comments

dschiptsovover 10 years ago
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 未加载
kjksfover 10 years ago
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 未加载
gaigeprover 10 years ago
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.
joostersover 10 years ago
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 未加载
hedwallover 10 years ago
When I see someone doing benchmarks like this against localhost i get skeptical. Race conditions might very well be present.
bayesianhorseover 10 years ago
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 未加载
dom96over 10 years ago
How did you generate those pretty graphs?
aikahover 10 years ago
When doing a speed benchmark,I consider the memory profile to be as relevant as the number of requests per second.
bodokaiserover 10 years ago
Why not use libuv right away?
评论 #8803333 未加载
Immortalinover 10 years ago
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 未加载