C++ Compilers

Open-source C++ projects categorized as Compilers

Top 13 C++ Compiler Projects

  • llvm-tutor

    A collection of out-of-tree LLVM passes for teaching and learning

  • verilator

    Verilator open-source SystemVerilog simulator and lint system

  • Project mention: What's new for RISC-V in LLVM 17 | news.ycombinator.com | 2023-10-11

    You may want to check out Verilator:

    https://verilator.org/

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

    VAST is an experimental compiler pipeline designed for program analysis of C and C++. It provides a tower of IRs as MLIR dialects to choose the best fit representations for a program analysis or further program abstraction.

  • Project mention: Print(“lol”) doubled the speed of my Go function | news.ycombinator.com | 2023-08-23

    Most languages target C or LLVM, and C and LLVM have a fundamentally lossy compilation processes.

    To get around this, you'd need a hodge podge of pre compiler directives, or take a completely different approach.

    I found a cool project that uses a "Tower of IRs" that can restablish source to binary provenance, which, seems to me, to be on the right track:

    https://github.com/trailofbits/vast

    I'd definitely like to see the compilation processes be more transparent and easy to work with.

  • ipr

    Compiler-neutral Internal Program Representation for C++

  • Project mention: Module interfaces for pre-built libraries | /r/cpp | 2023-04-26

    I'm not sure about clang or gcc. For VS, u/GabrielDosReis might be able to speak to the .ifc IPR stability/volatility. My wager (deferring to him to correct me) is that the IPR is still changing over time but will stabilize more over time.

  • buildit

    Online demo without installing at - https://buildit.so/tryit (by BuildIt-lang)

  • wasp

    🐝 Wasp : Wasm programming language (by pannous)

  • noelle

    NOELLE Offers Empowering LLVM Extensions

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

    GrayC: Greybox Fuzzing of Compilers and Analysers for C

  • Project mention: GrayC: Greybox Fuzzing of Compilers and Analysers for C | news.ycombinator.com | 2023-11-03
  • thorin2

    The Higher ORder INtermediate representation - next gen

  • Project mention: Can one use lambda calculus as an IR? | /r/Compilers | 2023-06-06
  • jet

    A Fast C and Python like Programming Language that puts the Developer first. WIP (by The-NextGen-Project)

  • mewa

    Compiler-compiler for writing compiler frontends with Lua

  • ShnooTalk

    ShnooTalk is a new programming language

  • expr-ir

    An Expression Tree to LLVM-IR Example.

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++ Compilers related posts

Index

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

Project Stars
1 llvm-tutor 2,710
2 verilator 2,083
3 vast 334
4 ipr 216
5 buildit 114
6 wasp 96
7 noelle 69
8 GrayC 46
9 thorin2 43
10 jet 42
11 mewa 21
12 ShnooTalk 15
13 expr-ir 2

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