On Thu, Sep 4, 2014 at 1:33 PM, Alexander Holler <hol...@ahsoftware.de> wrote: >>> Hmm, a sane and maintainable solution would use C++ with which people >>> don't >>> have to manually build lists or hashes for every structure like in the >>> kernel (generic programming done right). So you won't find much kernel >>> developers there. ;) >>> >> >> Seriously Dude? >> >> Have you tried it? I was using c++ before during and after the stl was >> standardised >> and the memories of the resulting induced self hair pulling still >> gives me the shivers. >> Try writing a real time kernel with full c++ support. You have to >> provide the entire c++ >> runtime in the kernel! >> >> I still do a little c++ programming when i am forced to but its only >> in small pieces. >> Ill go crazy otherwise. > > > I've started to use C++ when only precompilers (to translate C++ to C) were > available. That was long before the STL was standardised.
What's actually wrong with C++ at a language design level. Short version: http://lwn.net/Articles/504751/ Long version (parts 1, 2, 3): http://landley.net/notes-2011.html#16-03-2011 http://landley.net/notes-2011.html#19-03-2011 http://landley.net/notes-2011.html#20-03-2011 Seriously, saying C++ is a good language because it contains the whole of C is like saying a mud pie is a good beverage because it contains an entire glass of water. Do you honestly think this is the first time this topic has come up? http://harmful.cat-v.org/software/c++/linus Rob -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/