On Mon, 2002-06-10 at 13:28, Muli Ben-Yehuda wrote:
> As for implying that we might write kernel modules in C++, sir, such a > comment would cause me (as a Qlusters kernel hacker) to demand > satisfaction at dawn, sir. I'll settle for a beer after the revolution > OS event, though ;) > Sorry to burst your bubble, but one of the coolest pieces of code I had the fortune to work with the in the past is the Click Modular Router and it is implmented as C++ classes and objects and can run in kernel space (as well as out of it). Their code comes with a patch to make the Linux source tree more g++ friendly, and you'll be surprised how small the change is. >From the Click page: "A Click router is an interconnected collection of modules called elements; elements control every aspect of the router’s behavior, from communicating with devices to packet modification to queueing, dropping policies and packet scheduling. Individual elements can have surprisingly powerful behavior, and it’s easy to write new ones in C++. You write a router configuration by gluing elements together with a simple language." BTW, if you think this is the work of the devil you be amused to discover that one of the main co-authors of this fine project is none other then Robert Morris or RTM to his friends, creator of the Great Worm himself. I exchanged some polite emails with the guy and sadly resisted the mad urge to ask him if he ever used the pick line: "Hey babe, want to have a go of the men who shut down the Internet?" and what was the results if he did... :-) http://www.pdos.lcs.mit.edu/click/ Gilad. -- Gilad Ben-Yossef <[EMAIL PROTECTED]> Code mangler, senior coffee drinker and VP SIGSEGV Qlusters ltd. "A billion flies _can_ be wrong - I'd rather eat lamb chops than shit." -- Linus Torvalds on lkml ================================================================To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]