How to use C++ as backend

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

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

    Discontinued DEPRECATED! ~~C++ HTML/CSS UI. Supports subset of HTML/CSS. Based on chromium/cobalt.foo without JavaScript overhead. Uses SKIA 2D graphics library. Can be used to build UI for cross-platform app, game or website. Can support browser as HTML5 web framework or WebGL UI renderer.~~

  • You can even render html using c++ in brower via Emscripten, example: https://github.com/blockspacer/skia-opengl-emscripten/tree/master/docs

  • Wt

    Wt, C++ Web Toolkit

  • Or maybe you want to do everything in C++, including the GUI with Wt.

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

    Discontinued Drogon: A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows [Moved to: https://github.com/drogonframework/drogon] (by an-tao)

  • You can use Drogon, which is currently the fastets framework in the TechEmpower benchmark.

  • FrameworkBenchmarks

    Source for the TechEmpower Framework Benchmarks project

  • You can use Drogon, which is currently the fastets framework in the TechEmpower benchmark.

  • served

    Discontinued A C++11 RESTful web server library

  • So, if you're going that route, you can use one of the many HTTP wrappers around Boost::ASIO or something purpose-built like Pistache or Casablanca.

  • asio_http

    A simple http server based on asio

  • So, if you're going that route, you can use one of the many HTTP wrappers around Boost::ASIO or something purpose-built like Pistache or Casablanca.

  • C++ REST SDK

    The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.

  • So, if you're going that route, you can use one of the many HTTP wrappers around Boost::ASIO or something purpose-built like Pistache or Casablanca.

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

    Embedded Web Server (by cesanta)

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