Re: Linux C++ debugger



Rafael Almeida wrote:
Did linux use C++ at any point of its history?

No. There is a statement in some docs that they tried it once (~10 yrs ago)
and it caused more problems than benefits. Since then, the proposal to
include C++ into the kernel is usually met with flames. My opinion is that
C++ compilers at that time were the problem and that it's time to
reevaluate that. Another problem remains though, there aren't too many
good C++ programmers and C++, while being more powerful than C, is also a
lot more complex.

An independent group of of developers have since patched the kernel to
support C++ and provide an astonishing level of integration (in particular
the exception support astonished me a lot).

Because the asmlinkage macro seems to have a definition using
``extern "C"''.

Those are probably in headers that are intended to be used from other code,
too.

Also, an execercice from "operating system concepts" by
silberschatz seems to suggest that.

Can't comment on that, URL?

Uli

.



Relevant Pages

  • [PATCH, RFC] A development process document
    ... This is an extended document intended to help interested developers, ... and their employers work with the kernel development process. ...
    (Linux-Kernel)
  • [PATCH] A development process document, V2
    ... Add a document describing the kernel development process. ... +With the growth of Linux has come an increase in the number of developers ...
    (Linux-Kernel)
  • Re: [PATCH, RFC] A development process document
    ... developers and their employers; it's supposed to be a gentle introduction to ... the kernel development process. ... +urgently in need of coding style fixes. ... +abstraction layers in the name of flexibility and information hiding. ...
    (Linux-Kernel)
  • Re: [PATCH, RFC] A development process document
    ... to the kernel development process. ... I suspect the "2000 active developers" is a bit hypey. ... THE IMPORTANCE OF GETTING CODE INTO THE MAINLINE ... +- Kernel code is subjected to review, both before and after merging into ...
    (Linux-Kernel)
  • Re: [PATCH] A development process document, V2 (diff from V1)
    ... [PATCH] Various improvements in response to reviewer comments. ... discussion which does not require a deep knowledge of kernel programming to ... involve over 1000 developers working for more than 100 different companies ... Working with reviewers can be, ...
    (Linux-Kernel)