"Protothreads"

Marcio mqmnews123 at sglebs.com
Wed Mar 15 06:44:42 PST 2006


Dave wrote:
> Is something like this implementable in D with the newly added template and
> mixin abilities? http://www.sics.se/~adam/pt/


	It would be really nice to have something like that. I have written a 
select-based httpd server in the past (no threads, just select on socket 
/ multiplexing) and it was quite fast (I believe other servers like 
Xitami, lighthttpd etc use a similar approach). But having to use state 
machines was a pain. Ditto for an rsync server. Something like 
Protothreads would have been neat.

marcio



More information about the Digitalmars-d mailing list