Slashdot Mirror


C++ In The Linux kernel

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."

3 of 850 comments (clear)

  1. Are you serious? by KinkifyTheNation · · Score: 0, Offtopic

    Just this afternoon I pondered if Linux supported C++ like this. With Slashdot I don't have to go out of my way and do things like being social to get things answered anymore. Thanks, Slashdot, for ensuring my nerdyness!

  2. No matter how low your opinion of Portland ... by Ungrounded+Lightning · · Score: 0, Offtopic

    Linus is rolling in his grave.

    No matter how low your opinion of Portland, moving there is NOT as bad as dying.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  3. Fast kernel, slow hdd rates by evil9000 · · Score: 0, Offtopic

    Have they fixed SATA support in 2.6.x so that i can use DMA on my drives yet? Thats the only reason i'm using 2.4 vs 2.6. 150megs per sec vs 10megs per sec. Makes a big difference...