C++ In The Linux kernel 850
An anonymous reader submits "A researcher at Reykjavik University Network Laboratory (netlab.ru.is) has just released a Linux patch allowing for complete kernel-level run-time support for C++ in the Linux kernel, including exceptions, dynamic type checking and global objects (with constructors and destructors) The implementation is based on the C++ ABI in GNU g++, but contains various kernel level optimizations, that reduces the cost of throwing exceptions by an order of magnitude, thus making C++ exceptions viable in several scenarios. Furthermore, the Linux module loader is extended to handle weak symbols in C++, so that dynamic type checking is reduced to a pointer comparison, in contrast to string comparison."
nice (Score:5, Funny)
More Confusion (Score:5, Funny)
C++? (Score:5, Funny)
Alright!! (Score:5, Funny)
I'm sure the kernel developers will LOVE the idea of putting C++ in the kernel.
Re:C++? (Score:3, Funny)
Stillborn. Seriously (Score:3, Funny)
Or better yet - Brainf*ck, my personal favourite
Perl (Score:0, Funny)
RMS (Score:5, Funny)
Re:C++? (Score:2, Funny)
fantastic ... (Score:4, Funny)
i can't wait to try and debug virtual functions, copy constructors, and polymorphism over JTAG or BDM!!!!
man thats gonna be fun
i always found C causes to much clutter in the linux kernel
keep an eye for this in 3.0
Jim
Here's what's coming up! (Score:4, Funny)
Re:Sorry to break it to you... (Score:2, Funny)
My name is Linux Torvalds, and I pronounce "Linus" "Linus".
Comment removed (Score:5, Funny)
great! (Score:2, Funny)
or exceptions.
Re:More Confusion (Score:5, Funny)
a) CKernelCrash
b) CKernelPatchNotGetAcceptedByLinus
One or the other, I'm sure.
Re:C++? (Score:3, Funny)
I can imagine a post to usenet now... And the ensuing reply...
Who cares? (Score:3, Funny)
Re:More Confusion (Score:4, Funny)
throw new ExceptionPatchNotAccepted("Linus");
You're going to kill Stallman (Score:3, Funny)
Reviving a joke... (Score:3, Funny)
Re:C++ (Score:3, Funny)
Re:Who cares? (Score:2, Funny)
Re:Yay! (Score:3, Funny)
Made you look in header
Agreed about developers though, however the number of
those who have a clue is drastically lower than those
who think they have a clue. Everyone's a freaking C++
senior these days.
Re:Yay! (Score:3, Funny)
This should be good news to the NRA's development division...
Re:call/cc (Score:5, Funny)
Once you've done all this, Linux will truly be ready for the desktop. (Assuming you axiomatize your language definition first, to get rid of unnecessary features like for loops).
Re:RMS (Score:1, Funny)
Heh heh funny! IQ estimate: 115
oH! wait he's not dead!
Oh dear, revised IQ estimate: 85
Re:RMS (Score:4, Funny)
Re:I take exception... (Score:1, Funny)
You can use the S and K combinators and an "apply" operator, without having to resort to all that extra baggage that comes with "statements" and "numbers" and other needless crap like that.
Re:Alright!! (Score:5, Funny)
Re:Exceptions are suddenly viable? (Score:4, Funny)
MS Developer #1: I was thinking we could put exceptions in the kernel.
MS Developer #2: Are you insane? Why on earth would you want to do that? I don't think I've heard a stupider suggestion for a kernel addition.
MS Developer #1: Really? Well uhh... how about we put an Internet browser in the kernel?
MS Developer #2: FREAKIN BRILLIANT, let me call Bill.
- sm
wait a minute.. (Score:2, Funny)
Re:Alright!! (Score:3, Funny)
Re:More Confusion (Score:5, Funny)
With the GNU Compiler Collection able to generate machine code for Java, we'd be able to leverage all the things that Java excells at!
Such as:
umm....
well,
Oh forget it then.
Re:nice (Score:2, Funny)
Obligatory Quote (Score:2, Funny)
Re:More Confusion (Score:2, Funny)