cps
A formalization of continuation-passing style calculi in Coq [WIP] (by takanuva)
8cc
A Small C Compiler (by rui314)
Our great sponsors
cps | 8cc | |
---|---|---|
1 | 6 | |
24 | 6,035 | |
- | - | |
9.4 | 0.0 | |
3 days ago | 10 months ago | |
Coq | C | |
BSD 3-clause "New" or "Revised" License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cps
Posts with mentions or reviews of cps.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-06.
-
lambda-8cc: An x86 C compiler written in untyped lambda calculus
I have been working with the calculus of continuations, mostly formalizing its metatheory (my results so far are on GitHub). It is a calculus that relates to compiler IRs in the same way that the lambda calculus relates to functional languages. I have not yet released my interpreter (I'm currently working on it!), and I hope to finish my paper for next POPL. But I'll be sure to send you an e-mail once I am able to test the CPS translated compiler. Also, please DM me if you'd like to see some early research notes on that.
8cc
Posts with mentions or reviews of 8cc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-13.
- Apple hiring compiler developers for improving Swift / C++ interoperability
-
lambda-8cc: An x86 C compiler written in untyped lambda calculus
The compiler looks to be here: https://github.com/rui314/8cc
- C meeting is over. C23 added
-
Compiler career advice?
Implement a compiler for a subset of C. This doesn't need to be self-hosting, but bonus points if it is. Here's an example of what it can look like: https://github.com/rui314/8cc
-
NCC, a new ANSI/ISO C compiler
While this is an impressive work, I feel that there are a lot of "tiny" C compilers out there; how is yours any different than SmallerC, TinyC, 8cc, chibicc and many others?
-
Linus Torvalds on where Rust will fit into Linux
See https://github.com/rui314/8cc https://github.com/rswier/c4 for a demonstration of this.
What are some alternatives?
When comparing cps and 8cc you can also consider the following projects:
lambda-8cc - x86 C compiler written in untyped lambda calculus
chibicc - A small C compiler
gameboy-brainfuck - Implementation of a brainfuck interpreter written for the Game Boy.
SmallerC - Simple C compiler
elvm - EsoLangVM Compiler Infrastructure
ncc - classic (K&R) C compiler for AMD64
Ne10 - An open optimized software library project for the ARM® Architecture
rust - Empowering everyone to build reliable and efficient software.
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
typed-calc - Interpreter for simply typed lambda calculus implemented in JavaScript λ
rfcs - RFCs for changes to Rust