
14 Jan
2009
14 Jan
'09
1 p.m.
Stefan Seefeld wrote:
The one real argument unfortunately only alluded to is exception handling (stack unwinding). It would be nice to have a technically accurate description of the involved mechanism (let's take the now established C++ ABI for that) and discuss why it is hard / impossible to use in kernel code.
Contrary to popular belief, it is certainly not impossible. As a matter of fact, this has been done. You can have the whole C++ runtime in any kernel, including linux. Using C++ without exceptions doesn't have much point anyway, since the point of C++ is RAII.