From: rixed@happyleptic.org
To: guile-user@gnu.org
Subject: Re: http request?
Date: Tue, 26 Apr 2011 14:01:31 +0200 [thread overview]
Message-ID: <20110426120131.GA14337@ccellier.rd.happyleptic.org> (raw)
In-Reply-To: <m34o5l6yeg.fsf@unquote.localdomain>
> > Something similar to python's twisted would be extra cool IMO.
>
> I don't know much about it, but serveez might be going in that
> direction.
Unfortunately, from a quick fly-by of serveez manual I wouldn't say so.
While, from some high level viewpoint, twisted can be seen as a mere
server build helper, it's also much more than than: it's actually an
event driven(*) framework for building elaborated protocols. For
instance, you inherit the HTTP protocol implementation and override its
'message received' hook and voilà, you are implementing your own protocol
over HTTP.
Have used it a couple of times and I must say I've never encountered
another lib in any other language that make it so easy to write both
servers and clients (when high perfs are not required).
I'm far from being a python fan but twisted and scapy are two pieces of
python code any hacker should have a look at, and which I'd love to
see equivalents in other languages, IMHO.
(*) but using python 'yield' builtin it becomes lightweight threaded;
although python's thread are ashamedly inefficient it's still easier to
read/write code written this way.
next prev parent reply other threads:[~2011-04-26 12:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-25 20:27 http request? Bernardo Ezequiel Contreras
2011-04-25 20:54 ` Bernardo Ezequiel Contreras
2011-04-26 9:21 ` Andy Wingo
2011-04-26 10:49 ` rixed
2011-04-26 11:32 ` Andy Wingo
2011-04-26 12:01 ` rixed [this message]
2011-04-26 12:49 ` Andy Wingo
2011-04-26 12:41 ` Thien-Thi Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110426120131.GA14337@ccellier.rd.happyleptic.org \
--to=rixed@happyleptic.org \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).