by westurner 7 years ago

https://root.cern.ch/root-has-its-jupyter-kernel (2015)

> Yet another milestone of the integration plan of ROOT with the Jupyter technology has been reached: ROOT now offers a Jupyter kernel! You can try it already now.

> ROOT is the 54th entry in this list and this is pretty cool. Now not only the PyROOT, the ROOT Python bindings, are integrated with notebooks but it's also possible to express your data mining in C++ within a notebook, taking advantage of all the powerful features of ROOT - plotting (now also interactive thanks to (Javascript ROOT](https://root.cern.ch/js/)), multivariate analysis, linear algebra, I/O and reflection: all available within a notebook.

Does this work with JupyterLab now? (edit) Here's the JupyterLab extension developer guide: https://jupyterlab.readthedocs.io/en/stable/developer/extens... (edit) here's the gh issue: https://github.com/root-project/jsroot/issues/166

...

ROOT is now installable with conda: `conda install -c conda-forge root metakernel jupyterlab # notebook`

carreau 7 years ago

For c/c++ in Jupyter, see xeus-cling https://github.com/QuantStack/xeus-cling

  • stochastic_monk 7 years ago

    Coincidentally, cling (wrapped by xeus-cling) is also a product from CERN.

    • carreau 7 years ago

      I don't believe those a coincidences, but more collaborations and the right people working together :-)

    • pjmlp 7 years ago

      Many of the CERN researchers are pretty deep into C++.

      It was there that I got my template meta-programming baptism, back in 2002, when gcc was still trying to cope with template heavy code.

      And curiously, also where I got my first safety heavy code reviews of C++ best practices.