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. Learn more →
Top 23 C++ Compiler Projects
-
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-02Huh? 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.
-
Nim and Codon are Python-inspired compiled languages which I find interesting.
-
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?
-
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.
-
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.
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.
-
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
-
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++.
-
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.
> 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.
-
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.
-
> 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 -
Project mention: Soon, I will program a whole OS with Python | reddit.com/r/ProgrammerHumor | 2022-05-07
-
best i can do is fetlang
-
Project mention: General Tip On Porting a In-House Engine to vulkan | reddit.com/r/vulkan | 2023-02-01
-
-
This isn't usable yet, but in active development by the author, and looks promising: https://jank-lang.org/
-
-
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 -
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
C++ Compiler related posts
- What are some pros of developing a compiler in Common Lisp?
- General Tip On Porting a In-House Engine to vulkan
- What would make you try a new language?
- Can I make it so that only the newest version of Rust gets installed?
- Are manual TAGS (ctags, etags, rtags, gtags) preferrable over LSP + xref (as of 2023)?
- Kicking the tires of CMake support for C++ Modules
- hey i am just curious what programmers think about Carbon and Cppfront ? which is likely to succeed ?
-
A note from our sponsor - Sonar
www.sonarsource.com | 4 Feb 2023
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 |