Interactive GCC (igcc) is a read-eval-print loop (REPL) for C/C++

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • igcc

    Interactive GCC - C/C++ REPL.

  • Writes to a temporary file and compiles it: https://github.com/alexandru-dinu/igcc/blob/84f68c7056d0d996...

  • cling

    The cling C++ interpreter

  • More recent activity, but based on clang: https://github.com/jupyter-xeus/xeus-cling https://github.com/root-project/cling

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • xeus-cling

    Jupyter kernel for the C++ programming language

  • Xeus-cling is a Jupyter Kernel for C/C++: https://github.com/jupyter-xeus/xeus-cling#a-c-notebook

    With xeus-cling Jupyter Kernel for C/C++, variable redefinitions in subsequent cells do not raise a compiler warning or error.

    There's JsRoot, which may already work with JupyterLite in WASM in a browser tab?

    There's a ROOT kernel for Jupyter, too.

    IDK if there are Apache Arrow bindings for ROOT?; though there certainly are for C/C++, Python, and other languages

    You must install jupyter_console to use Jupyter kernels from the CLI like IPython with ipykernel.

    In addition to IPython/Jupyter notebook, jupyterlab, vscode, and vscode.dev+devpod;

    awesome-cpp#debug:

  • root

    The official repository for ROOT: analyzing, storing and visualizing big data, scientifically

  • The odd part is that this is not just for fun. For many physicists when I was at CERN, a C++ REPL was a commonly used tool to interactively debug analyses to such a degree that many never compiled their code. Back then, I believe, it was some custom implementation included in ROOT (https://root.cern/). I even went out of my way to write C++ code compatible to it just so it could run with this implementation, otherwise some colleagues weren't interested in collaborating at all.

  • awesome-cpp

    A curated list of awesome C++ (or C) frameworks, libraries, resources, and shiny things. Inspired by awesome-... stuff.

  • jsroot

    JavaScript ROOT

  • https://github.com/root-project/jsroot/issues/166

  • xeus

    Implementation of the Jupyter kernel protocol in C++

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • preplish

    A Perl 5 REPL written in Bash

  • > what's wrong with that?

    Why nothing at all, of course. A REPL need not be more than a way to test and explore syntax, functions, and logical structures.

    > the user experience is REPL-ish and it can help some people learn the _basics_ of the language

    PREPLISH exists for Perl ^_^

    https://github.com/viviparous/preplish

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts