• wewbull@feddit.uk
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    2
    ·
    14 days ago

    Furthermore there are many changes to NumPy internals, including continuing to migrate code from C to C++, that will make it easier to improve and maintain NumPy in the future.

    I realise that C can be rather low level a lot of the time, but I’m not sure I’d pick C++ to help keep things easy to maintain. It opens up a Pandora’s box of possibilities.

    • cbarrick@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      2
      ·
      edit-2
      14 days ago

      With a good style/best-practice guide, C++ can be quite productive of a language to work with.

      Those kinds of guides typically define which standard/convention to use and which features not to use (cough exceptions cough).

      I highly recommend Google’s C++ style guide: https://google.github.io/styleguide/cppguide.html.