{"id":15937573,"url":"https://github.com/andersy005/interactive-cpp","last_synced_at":"2026-05-16T11:02:01.939Z","repository":{"id":96024789,"uuid":"55034859","full_name":"andersy005/interactive-cpp","owner":"andersy005","description":"interacive c++ notebooks","archived":false,"fork":false,"pushed_at":"2018-01-25T22:28:36.000Z","size":54,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T23:37:49.145Z","etag":null,"topics":["cpp"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andersy005.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-30T05:23:42.000Z","updated_at":"2019-03-09T03:44:35.000Z","dependencies_parsed_at":"2023-06-19T11:45:27.273Z","dependency_job_id":null,"html_url":"https://github.com/andersy005/interactive-cpp","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"68f2819008b22a8851f7ade1b0251d33732356ca"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersy005%2Finteractive-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersy005%2Finteractive-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersy005%2Finteractive-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersy005%2Finteractive-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andersy005","download_url":"https://codeload.github.com/andersy005/interactive-cpp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070782,"owners_count":20878581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp"],"created_at":"2024-10-07T05:03:39.570Z","updated_at":"2025-10-15T01:55:14.027Z","avatar_url":"https://github.com/andersy005.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Play interactively with C++ Programming  in [xeus-cling](https://github.com/QuantStack/xeus-cling)-a Jupyter Kernel for C++ based on xeus and cling\n\n\nNote: Credit goes to [Uwe for his excellent blog post on how to setup C++ environment for Apache Arrow](https://uwekorn.com/2017/12/17/play-interactively-with-arrow-cpp-in-xeus-cling.html)\n\n## Getting Started\n\n\nAs a start, we create a conda environment with all non-C++ dependencies and also install Jupyter Lab from conda-forge.\n\n```bash\n# Create a new conda environment\nconda create -n xeus python=3.6 numpy six setuptools cython pandas \\\n    pytest cmake rapidjson snappy zlib brotli jemalloc lz4-c zstd ninja \\\n    jupyterlab -c conda-forge\nsource activate xeus\n```\n\nAs the next step, we will install the gcc-6 compiler from QuantStack which we will use. Additionally, we install the boost-cpp build from QuantStack that was already built with gcc-6. We also set the environment variables CC and CXX so that the new compiler is picked up automatically by the build tools.\n\n```bash\nconda install gcc-6 boost-cpp -c QuantStack\nexport CC=${CONDA_PREFIX}/bin/gcc\nexport CXX=${CONDA_PREFIX}/bin/g++\n```\n\nAs the last of the external dependencies, we install the actual interactive environment. For the C++ support, we install the interactive C++ compiler cling and the C++ kernel for Jupyter Notebook xeus-cling from the QuantStack channel.\n\n```bash\nconda install cling -c QuantStack -c conda-forge\nconda install xeus-cling -c QuantStack -c conda-forge\n```\n\nAfter starting Jupyter Lab with jupyter lab, you should now see two additional kernels: xeus C++11 and xeus C++14. You can use either of them to use write interactive C++ programs.\n\n![](assets/jupyterlab.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersy005%2Finteractive-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandersy005%2Finteractive-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersy005%2Finteractive-cpp/lists"}