Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification about the relation to cling #476

Open
naweiss opened this issue Mar 24, 2023 · 4 comments
Open

Clarification about the relation to cling #476

naweiss opened this issue Mar 24, 2023 · 4 comments

Comments

@naweiss
Copy link

naweiss commented Mar 24, 2023

The documentation of cling states:

Cling comes with a Jupyter kernel. After building cling, install Jupyter and cling's kernel by following the README.md in tools/Jupyter.

This projects is also a Jupyter kernel for C++ based on the cling. So, it would be helpful to claritfy in the README file, what is exactly the difference between the "builtin" cling kernel and the kernel used in this project.
In other words, what is the motivation of using/creating this project.

@JohanMabille
Copy link
Member

The kernel provided by ROOT is based on the wrapper kernel approach, meaning it depends on ipykernel and thus on the Python runtime.

This kernel is based on xeus, a native implementation of the Jupyter Kernel protocol. No dependency on ipykernel nor any Python part of the Jupyter ecosystem, and it has proven to be more stable on the long run.

@naweiss
Copy link
Author

naweiss commented Mar 24, 2023

Thanks, wouldn't it be worth to mention it somehow in the doc?

@JohanMabille
Copy link
Member

Yes, would you like to open a PR?

@naweiss
Copy link
Author

naweiss commented Mar 24, 2023

I added a new section which might be an overkill, but I think it makes it clearer for new users why should they prefer xeus-cling over cling - #478.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants