C++ Compiler

Open-source C++ projects categorized as Compiler

Top 23 C++ Compiler Projects

  • V8

    The official mirror of the V8 Git repository

    Project mention: [AskJS] Do you have to be a natural talent to reach deep knowledge? | reddit.com/r/javascript | 2023-01-13
  • llvm-project

    The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at http://reviews.llvm.org.

    Project mention: What are some pros of developing a compiler in Common Lisp? | reddit.com/r/lisp | 2023-02-02

    Huh? Somewhere, when you read a file from the hard drive you will read it in an array, or call it a buffer, even in Lisp. On top of that you will interpret your data as some sort of structure, for example an AST as you mention. I have yet to see Lisp that reads in a text file into an AST naturally, without a parser that reads input and transforms it into an appropriate AST tree. Lisp is suited naturally to work with lists, which are good at representing trees and other linked structures. But you have to build those trees out of your "array" on your own. You can use a library, you don't have to write it on your own, but so you can with other languages too. I suggest taking a look at llwm, it is made exactly for the purpose of making compilers.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • codon

    A high-performance, zero-overhead, extensible Python compiler using LLVM

    Project mention: Some reasons to avoid Cython | reddit.com/r/Python | 2023-01-20

    Nim and Codon are Python-inspired compiled languages which I find interesting.

  • Halide

    a language for fast, portable data-parallel computation

    Project mention: What would make you try a new language? | reddit.com/r/ProgrammingLanguages | 2023-01-29

    If we drop the "APL" requirement, wouldn't Halide fit your criteria for the third?

  • asmjit

    Machine code generation for C++

    Project mention: How do I get the registers of a process in C++? | reddit.com/r/cpp_questions | 2023-01-19

    You can use something like https://asmjit.com/ to generate and call x64 code at runtime.

  • reshade

    A generic post-processing injector for games and video software.

    Project mention: Welcome to Elandstad, Netherlands. My first European build and holy heck the support from the dutch community and skylines community as a whole on this project has been unreal. I hope you enjoy the shots! | reddit.com/r/CitiesSkylines | 2023-02-03

    so just to preface I do use reshade as well for graphics enhancement which is available here: https://reshade.me/

  • glslang

    Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator.

    Project mention: Higher level language transpiling to GLSL? | reddit.com/r/shaders | 2022-07-12

    you can also try this: https://github.com/KhronosGroup/glslang

  • Sonar

    Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • ispc

    Intel® Implicit SPMD Program Compiler

    Project mention: SIMD intrinsics and the possibility of a standard library solution | reddit.com/r/cpp | 2023-01-08

    ISPC: https://github.com/ispc/ispc

  • Beef

    Beef Programming Language (by beefytech)

    Project mention: Transpiler to C++ | reddit.com/r/cpp | 2022-12-05

    On one hand, I feel there are so many similar languages out there {(Val, Vala, Vale, Corroded Iron, Beef, Zig, Carbon, cppfront, Jai)...}, that we don't need yet another, but also I encourage further thought because it may be inspiration for future improvements to C++ itself. The number one faux pas I see them make is trying to directly compete with C++ (inventing their own type system, their standard library, their build system, own package format...), whereas your (by its very nature as a transpiler) embraces C++.

  • faust

    Functional programming language for signal processing and sound synthesis (by grame-cncm)

    Project mention: Ask HN: Is there a great DAG framework for Python? | news.ycombinator.com | 2022-12-16

    Does Faust do what you want? It's a language specifically for digital signal processing, and has a wide variety of compile targets.

    https://faust.grame.fr/

    > Faust (Functional Audio Stream) is a functional programming language for sound synthesis and audio processing with a strong focus on the design of synthesizers, musical instruments, audio effects, etc. created at the GRAME-CNCM Research Department. Faust targets high-performance signal processing applications and audio plug-ins for a variety of platforms and standards.

    > The core component of Faust is its compiler. It allows to "translate" any Faust digital signal processing (DSP) specification to a wide range of non-domain specific languages such as C++, C, LLVM bit code, WebAssembly, Rust, etc. In this regard, Faust can be seen as an alternative to C++ but is much simpler and intuitive to learn.

  • mrustc

    Alternative rust compiler (re-implementation)

    Project mention: Stop Comparing Rust to Old C++ | reddit.com/r/cpp | 2023-01-31

    There are three. The official one, mrustc (no borrow checker, but can essentially compile the official rustc) and GCC (can't really compile anything substantial yet). Only rustc is production-ready though.

  • ccache

    ccache – a fast compiler cache

    Project mention: Boring Python: Code Quality | news.ycombinator.com | 2022-12-20

    > All those big changes introduce commits that make git bisect generally slower.

    Bisection search is log2(n) so doubling the number of commits should only add one more bisection step, yes?

    > Which might be awful if you also have some C code to recompile at every step of bisecting.

    That reminds me, I've got to try out ccache (https://ccache.dev/ ) for my project. My full compile is one minute, but the three files that take longest to compiler rarely change.

  • ShaderConductor

    ShaderConductor is a tool designed for cross-compiling HLSL to other shading languages

    Project mention: I'm sick of shader caches. The way Steam Deck handles them needs to improve: | reddit.com/r/SteamDeck | 2022-09-04
  • Peregrine

    A blazing fast language for the blazing fast world(WIP)

    Project mention: Soon, I will program a whole OS with Python | reddit.com/r/ProgrammerHumor | 2022-05-07
  • fetlang

    Fetish-themed programming language

    Project mention: “Python”, “Java”, “Carbon”, “Rust” | reddit.com/r/ProgrammerHumor | 2022-11-25

    best i can do is fetlang

  • shaderc

    A collection of tools, libraries, and tests for Vulkan shader compilation.

    Project mention: General Tip On Porting a In-House Engine to vulkan | reddit.com/r/vulkan | 2023-02-01
  • VTIL-Core

    Virtual-machine Translation Intermediate Language

    Project mention: Great answer | reddit.com/r/ProgrammerHumor | 2022-06-06
  • jank

    A Clojure dialect on LLVM with gradual typing, a native runtime, and C++ interop

    Project mention: Loopr: A Loop/Reduction Macro for Clojure | news.ycombinator.com | 2022-12-06

    This isn't usable yet, but in active development by the author, and looks promising: https://jank-lang.org/

  • constexpr-8cc

    Compile-time C Compiler implemented as C++14 constant expressions

  • dynarmic

    An ARM dynamic recompiler.

    Project mention: Latest news from Emulation regarding Mac | reddit.com/r/macgaming | 2022-09-10

    https://github.com/merryhime/dynarmic/pull/697 - Dynarmic implementing Arm backend support. Dynarmic is a dynamic recompiler for ARM.

  • torch-mlir

    The Torch-MLIR project aims to provide first class support from the PyTorch ecosystem to the MLIR ecosystem.

    Project mention: Abstract machine implementation for modern functional language. | reddit.com/r/ProgrammingLanguages | 2022-07-19
  • shedskin

    Shed Skin is a restricted-Python-to-C++ compiler. Read the introduction below to learn about the restrictions.

    Project mention: Shed Skin restricted-Python-to-C++ compiler ported to Python 3 | reddit.com/r/Python | 2023-01-01
  • Ark

    ArkScript is a small, fast, functional and scripting language for C++ projects

    Project mention: November 2022 monthly "What are you working on?" thread | reddit.com/r/ProgrammingLanguages | 2022-11-03

    1: https://github.com/ArkScript-lang/Ark 2: https://github.com/AFLplusplus/AFLplusplus

  • SaaSHub

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

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). The latest post mention was on 2023-02-03.

C++ Compiler related posts

Index

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

Project Stars
1 V8 20,738
2 llvm-project 17,924
3 codon 5,539
4 Halide 5,270
5 asmjit 3,318
6 reshade 2,975
7 glslang 2,391
8 ispc 2,160
9 Beef 2,157
10 faust 2,070
11 mrustc 1,867
12 ccache 1,774
13 ShaderConductor 1,548
14 Peregrine 1,489
15 fetlang 1,455
16 shaderc 1,450
17 VTIL-Core 1,121
18 jank 966
19 constexpr-8cc 759
20 dynarmic 750
21 torch-mlir 685
22 shedskin 578
23 Ark 486
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com