• fubarx@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    4 months ago

    Yes, but nobody in their right mind will use boost at OS kernel or driver level. Also, using C++ has vtable/exception overhead. No-go.

    I worked at companies that tried both. They no longer exist.

    • Zamundaaa@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      Also, using C++ has vtable/exception overhead. No-go.

      That’s just nonsense. The kernel and most other big C projects are full of structs with manual re-implementations of vtables.

      If you don’t want exceptions (I don’t either), C++ doesn’t require you to use them. KDE software builds without them.