C++ Code Generation

Open-source C++ projects categorized as Code Generation

Top 9 C++ Code Generation Projects

  • asmjit

    Low-latency machine code generation

  • Project mention: The 6502 instruction set as a database | news.ycombinator.com | 2024-04-08

    Some other instruction sets in some JSON: https://github.com/asmjit/asmjit/tree/master/db

  • casadi

    CasADi is a symbolic framework for numeric optimization implementing automatic differentiation in forward and reverse modes on sparse matrix-valued computational graphs. It supports self-contained C-code generation and interfaces state-of-the-art codes such as SUNDIALS, IPOPT etc. It can be used from C++, Python or Matlab/Octave.

  • Project mention: pyomo VS casadi - a user suggested alternative | libhunt.com/r/pyomo | 2023-09-05

    Interface for several solvers and integrators.

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

    A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives

  • Project mention: Good examples of C++ source code for math oriented software development? | /r/cpp_questions | 2023-06-17
  • symforce

    Fast symbolic computation, code generation, and nonlinear optimization for robotics

  • Project mention: SymPy: Symbolic Mathematics in Python | news.ycombinator.com | 2024-02-28

    You might find this library interesting: https://github.com/symforce-org/symforce

  • crocoddyl

    Crocoddyl is an optimal control library for robot control under contact sequence. Its solver is based on various efficient Differential Dynamic Programming (DDP)-like algorithms

  • Refureku

    Cross-platform C++17 Runtime Reflection Library

  • PochiVM

    Lightweight framework for easy and efficient code generation

  • Project mention: The Onyx Programming Language | news.ycombinator.com | 2023-12-08

    There are methods to generate an interpreter but AFAICT there are no real implementations. Seems to be one of those pure research fields.

    https://github.com/sillycross/PochiVM is the closest I've seen to an actual implementation but it looks mostly abandoned.

    And I'm talking about generators on the same level as flex/bison and not something like pypy where they (used to?) use abstract interpretation/partial evaluation as you're really just transforming a handwritten interpreter with all the hard work that entails.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • wyvern

    Automatic conversion of call by value into call by need in the LLVM IR. (by lac-dcc)

  • Project mention: Lazy Let: A Cheap Way and Easy Way to Add Lazyness | /r/ProgrammingLanguages | 2023-05-25

    We have implemented automatic "lazification" of function arguments at the level of the LLVM IR. We released the code last year.

  • ddcg

    Implementation of destination-driven code generation with control destinations. See [post.md](post.md)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ Code Generation related posts

  • The Onyx Programming Language

    2 projects | news.ycombinator.com | 8 Dec 2023
  • SymForce is a fast symbolic computation and code generation library for robotics

    1 project | news.ycombinator.com | 16 Nov 2023
  • Ask HN: Looking for platforms, other than Roblox, that have adopted Luau

    6 projects | news.ycombinator.com | 20 Oct 2023
  • Jacobian Matrix possible on arduino?

    1 project | /r/robotics | 24 Dec 2022
  • (Direct) Collocation in (Time) Optimal Control

    1 project | /r/ControlTheory | 9 Dec 2022
  • What optimization libraries are you using?

    1 project | /r/robotics | 19 Oct 2022
  • Skydio Researchers Open-Source ‘SymForce’: A Fast Symbolic Computation And Code Generation Library For Robotics Applications Like Computer Vision, etc.

    1 project | /r/robotics | 14 Jun 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 7 May 2024
    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. Learn more →

Index

What are some of the best open-source Code Generation projects in C++? This list will help you:

Project Stars
1 asmjit 3,811
2 casadi 1,554
3 pinocchio 1,515
4 symforce 1,347
5 crocoddyl 697
6 Refureku 199
7 PochiVM 83
8 wyvern 54
9 ddcg 21

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com