interactive icon indicating copy to clipboard operation
interactive copied to clipboard

How to add Cpp in polyglot?

Open sskohli01 opened this issue 1 year ago • 2 comments

A lot is us Competetive programmers have to solve multiple ques fast. Rather than creating multiple cpp files, it would be awesome if we can use the polyglot notebook for c++. Does it already supports cpp or any roadmap to include in future versions?

thanks, San

sskohli01 avatar May 04 '24 06:05 sskohli01

It does not support C++ and it's gonna be complicated to add.
dup: https://github.com/dotnet/interactive/issues/1352

Regenhardt avatar Oct 13 '24 11:10 Regenhardt

Polyglot Notebooks has support for adding languages at runtime as child Jupyter kernels (which isn't specific to just Python and R), and there's a C++ Juptyer kernel: https://github.com/jupyter-xeus/xeus-cling

So this potentially works today, though I haven't tried it.

jonsequitur avatar Oct 14 '24 18:10 jonsequitur