PocketPy: A Lightweight(~5000 LOC) Python Implementation in C++17

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

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

    Open Source Python Interpreter in 1 File for Game Scripting

  • Why do you need CMake? PocketPy has only 1 header file pocketpy.h, which can be download here. Just copy that file into your project.

  • cpp-httplib

    A C++ header-only HTTP/HTTPS server and client library

  • Every one of these libraries uses CMake to make it easier for end users to consume their libraries. In fact your example uses CMake as well such that I can consume it the way I describe above.

  • 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
  • Lua

    Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

  • For now, I think the main goal is to be an alternative to Lua, i.e., a Python-like language but not real Python. To be compatible with a real Python version, the system may become complex and lose the advantage of lightweight.

  • json

    JSON for Modern C++

  • range-v3

    Range library for C++14/17/20, basis for C++20's std::ranges

  • GLM

    OpenGL Mathematics (GLM)

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