4 ms·
I frequently wish the Jupyter notebook server were a C library instead of requiring Python. Would make deployment and installation of notebooks for non-Python l
by tavert 9y ago
I frequently wish the Jupyter notebook server were a C library instead of requiring Python. Would make deployment and installation of notebooks for non-Python languages easier. That's kind of the opposite of this though.
- jasongrout 9y agohttps://github.com/QuantStack/xeus https://github.com/QuantStack/xeus is an (in-development) implementation of the Jupyter protocol in C++, which lets you do kernel computation in any number of libraries that expose an API you can use from C++. Is that the sort of thing you are looking for?
- tavert 9y agoKind of, though C++ is a difficult language to use from anything other than C++ given there's no standard ABI. Either you need C++ glue-code wrappers around whatever language's FFI you actually want to use, or you embed Clang.
- williamstein 9y agoI recently built a complete node.js Jupyter server on top off https://github.com/nteract/spawnteract https://github.com/nteract/spawnteract (also used by nteract). There is no Python involved at all unless you connect to a Python kernel. Some of the code of what I wrote: https://github.com/sagemathinc/cocalc/tree/master/src/smc-project/jupyter https://github.com/sagemathinc/cocalc/tree/master/src/smc-pr... I'm not suggesting you use what I wrote. I'm just pointing out that there exist alternatives to the Python-based Jupyter server that accomplish the same goal. And I strongly agree with you -- it would be great to have even more implementations of the server part of the Jupyter stack!
- deleted 9y ago[deleted]