SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Compiler Open-Source Projects
-
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.
-
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.
-
minixfromscratch
Development and compilation setup for the book versions of MINIX (2.0.0 and 3.1.0) on QEMU
-
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.
-
system-programming-roadmap
A roadmap to teach myself compiler dev, malware reverse engineering, exploitation and kernel dev fundamentals
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: 3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup | news.ycombinator.com | 2024-04-19
Project mention: Bring garbage collected programming languages efficiently to WebAssembly | news.ycombinator.com | 2023-11-03The Binaryen wasm optimizer (mentioned in the article) is always open for contributions,
https://github.com/WebAssembly/binaryen
linking and loading: https://github.com/MattPD/cpplinks/blob/master/executables.linking_loading.md - in addition to the aforementioned books and blog posts, there also some pretty good talks: https://github.com/MattPD/cpplinks/blob/master/executables.linking_loading.md#talks
You may want to check out Verilator:
https://verilator.org/
Project mention: Ask HN: High-quality resources for writing complex systems software? | news.ycombinator.com | 2023-11-05Open BSD software source.
UNIX Systems Programming: Communication, Concurrency and Threads: Communication, Concurrency and Threads 2nd Edition by K Robbins and S. Robbins
minix from scrath [0]; linux from scratch[1];
[1] : https://www.linuxfromscratch.org/
[0] : https://github.com/o-oconnell/minixfromscratch
Project mention: Ask HN: Who is developing a programming language that compiles to C? | news.ycombinator.com | 2023-10-09https://github.com/dbohdan/compilers-targeting-c
I'm long time fan of programming languages that compiles to C hoping that one day will fall in love with one endlessly! :-)
Project mention: Show HN: TinyWasm – A tiny WebAssembly Runtime written in Rust | news.ycombinator.com | 2024-03-07Super nice project! I also spent the last month writing a WASM interpreter ( https://github.com/rrampage/wart ) using Java 21. I started it as an excuse to try out the pattern matching in switch / sealed classes in Java. It kind of snowballed in scope and can now run Doom and Waforth ( https://github.com/remko/waforth )! Have not yet tried compiling it to WASM and running it as a meta-circular interpreter.
Project mention: Print(“lol”) doubled the speed of my Go function | news.ycombinator.com | 2023-08-23Most 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.
Project mention: Ask HN: What Underrated Open Source Project Deserves More Recognition? | news.ycombinator.com | 2024-03-07https://github.com/decompme/decomp.me
I’ve posted this before but I love it so much I gotta do it again.
You plug in a piece of ASM from a video game ROM, and it gives you a first pass decompilation. On the left hand side you can edit this decompilation, and on the right there’s a side-by-side diff of the target ASM and what your source currently compiles to. It’s slightly gamified, looks great, is super easy to fork/share, and can be pretty addicting once you get into it. Super cool community.
Project mention: What does it look like using a quantum computer? | /r/QuantumComputing | 2023-04-26First step is you might implement your quantum circuit in (Just for example) a Python Jupyter notebook using some SDK like TKET https://github.com/CQCL/pytket
Project mention: Decoding C/C++ Compilation Process: From Source Code to Binary | /r/cpp | 2023-06-08It could be cool to see some explanation of CFG representations or GIMPLE/LLVM here. GCC/Clang can print those out as text, or just compile to that code and not go lower if you ask them to. There are some interesting things you can do with bytecode, like Rellic, AFL++, or optview2. It seems a bit reductive imo to go straight from high-level code to disassembly without at all examining any layers in between. Especially if we use something like Polygeist or CIR.
Hi all! We are working on an eBPF backend for Elixir. It's called Honey Potion. The project is under development, but it is possible to write some useful programs at this point. For instance, in this video, one of the guys involved explains how to write a program to count system calls.
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.
Compilers related posts
- Show HN: TinyWasm – A tiny WebAssembly Runtime written in Rust
- What's new for RISC-V in LLVM 17
- Decomp me: Collaboratively decompile code in the browser
- Decomp me: Collaboratively decompile code in the browser
- Random Testing of WebAssembly Implementations Using Semantically Valid Programs
- C as a IL (Obstacles? Libraries?)
- Can one use lambda calculus as an IR?
-
A note from our sponsor - SaaSHub
www.saashub.com | 26 Apr 2024
Index
What are some of the best open-source Compiler projects? This list will help you:
Project | Stars | |
---|---|---|
1 | Modern-CPP-Programming | 10,765 |
2 | binaryen | 7,099 |
3 | cpplinks | 3,976 |
4 | go-recipes | 3,807 |
5 | llvm-tutor | 2,710 |
6 | verilator | 2,083 |
7 | awesome-quantum-software | 1,340 |
8 | minixfromscratch | 1,182 |
9 | libfsm | 897 |
10 | compilers-targeting-c | 655 |
11 | micro-mitten | 531 |
12 | bolt | 525 |
13 | waforth | 451 |
14 | never | 402 |
15 | vast | 334 |
16 | decomp.me | 329 |
17 | pytket-docs | 324 |
18 | gllvm | 278 |
19 | clangir | 274 |
20 | system-programming-roadmap | 253 |
21 | honey-potion | 234 |
22 | ipr | 216 |
23 | crafting-interpreters-rs | 215 |
Sponsored