Re: Asynchronicity (long)

Hi Maxim, While we are coming from different sides on this, I do want to thank you for your input on libevent and epoll. It is a positive contribution to the discussion. Please see below for my replies.
But I also know that modern monster sites like http://www.livejournal.com/ would not be possible without epoll. (Well, I may be exaggerating a little). <snip>
I believe that an epoll-based implementation (not an exposed interface) would be one of the most likely. I'm really not dis'ing epoll's use, just where it is used.
Having said that, nowadays epoll support is a requirement for any linux which is going to be used in any decent networking.
That is good news for the Linux platform, but it doesn't change things in the general case.
select bit manipulation is ugly and boring. poll is much better. epoll is pretty much as simple as one can get.
I agree with the progression of better-ness all the way to "as simple as one can get". I think it can be much simpler.
This is what I'm talking about - my problems were solved long time ago. I'm happy with a C-style callback taking void* in libevent. And it's trivial to wrap it to make it accept and callback arbitrary function objects. I've been already living in a perfect world...
I guess a "perfect corner of the world" would be more accurate :). libevent is GPL, which for me is a full stop on its use and I cannot (politely<g>) say just how much I dislike C driving my C++ programming. While I came from a C background, I want to see pure C++ solutions for my problems. They are safer, easier to understand, use and maintain, but let's not get into a debate on such ethereal issues in this space. I think most folks using boost would agree: GPL evil, C bad, C++ good. ;) Best, Don __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo

On Sat, 2 Apr 2005 10:02:13 -0800 (PST), Don G <dongryphon@yahoo.com> wrote: []
I guess a "perfect corner of the world" would be more accurate :). libevent is GPL
My current understaning that it is not. Am I wrong? -- Maxim Yegorushkin

Don G wrote: [...]
in this space. I think most folks using boost would agree: GPL evil,
GPL is a joke, "evil" is this: http://web.novalis.org/talks/compliance-for-developers/slide-49.html [begin textual copying] July 27, 2004 GPL Compliance for Software Developers Legal notes ---------------------------------------------------------------- Legal notes Static linking creates a derivative work through textual copying Most dynamic linking cases involve distributing the library Still a derivative work: Dynamic linking Distributing only the executable (testtriangle) Still a derivative work: Distributing the source code of software which links to a library when that library is the only software to provide that interface ----------------------------------------------------------------- Copyright © 2004, Free Software Foundation. Verbatim copying permitted provided this notice is preserved. [end textual copying] Tough law they have over there in the GNU Republic, so to speak. regards, alexander. P.S. I suppose that "through textual copying", this message *and all archives (boost's, google's, etc.) that contain it, constitute ***unauthorized*** (note that only verbatim copying was permitted) "derivative work" (under GNU copyright law) of FSF's "legal notes". I've thoroughly contaminated the Internet. Oh my bad.

Alexander Terekhov wrote:
GPL is a joke, "evil" is this:
Pretty please can this GPL bashing stop now as way off topic. I have been on other lists which have degenerated with continual noise introduced by your massive objection to the gpl and endless mails full of little links. cheers, Martin -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.3 - Release Date: 5/04/2005

Martin Slater wrote:
Alexander Terekhov wrote:
GPL is a joke, "evil" is this:
Pretty please can this GPL bashing stop now as way off topic. I have been on other lists which have degenerated with continual noise introduced by your massive objection to the gpl and endless mails full
I don't really have any "massive objection to the gpl". Apart for the GNU Republic, thanks to "first sale" (aka doctrine of exhaustion in EU), the [L]GPL equates to quasi public domain (I have no problem preserving notices).
of little links.
http://tinyurl.com/5fpgz regards, alexander.
participants (4)
-
Alexander Terekhov
-
Don G
-
Martin Slater
-
Maxim Yegorushkin