cyclone
cake
cyclone | cake | |
---|---|---|
7 | 19 | |
1 | 498 | |
- | - | |
10.0 | 9.8 | |
about 10 years ago | about 16 hours ago | |
C | C | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
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.
cyclone
-
Maestro: A Linux-compatible kernel in Rust
One of the inspirations for Rust, as I recall, was Cyclone: https://cyclone.thelanguage.org/
Which was/is a "safe" dialect of C; basically C extended with a bunch of the stuff that made it into Rust (algebraic datatypes, pattern matching, etc.) Though its model of safety is not the borrow checker model that Rust has.
Always felt to me like something like Cyclone would be the natural direction for OS development to head in, as it fits better with existing codebases and skillsets.
In any case, I'm happy to see this stuff happening in Rust.
-
C for All
It sounds like they re-invented Cyclone.
https://cyclone.thelanguage.org
-
Is it possible to have a superset of the C programming languages standard that is as safe as Rust?
Looks like it was a research project and is now abandoned: http://cyclone.thelanguage.org
-
Need to learn FAST... Any recommendations for a free interactive rust course?
The borrow checker is Rust's secret sauce. It's the one thing no other language has. (Except Cyclone I think, which is an unmaintained research language.)
- What do you think about a C transpiler?
-
Is my method of programming wrong?
Also, lifetimes are not the mechanism by which Rust ensures safety - it's a necessary side-effect of the approach that Rust has taken, and this has nothing to do with the issues that "plague" other languages. Region-based memory management techniques are neither new nor really innovative. https://cyclone.thelanguage.org/, which directly inspired Rust, had them, and the authors gave up working on it because the ergonomics were terrible, as is the case with Rust. Lifetimes are needed for the Rust compiler to reason about what it can reasonably allow at compile time, but it, along with the Borrow Checker (which provides the actual safety net) ensures that whole swathes of valid programs are disallowed because the Rust compiler is not smart enough (and probably never will be) to check that these programs are valid.
- A Formal Model of Checked C
cake
- Cwerg: C-like language that can be implemented in 10kLOC
-
Static Ownership Checks for C
Cake is a C23 Front End http://thradams.com/cake/index.html that is implementing static ownership checks.
Cake source itself is already using this feature that can be used and disabled with few macros.
The link is a tour explaining the concepts and usage of this feature.
- Ownership Checks for C [pdf]
- static destructor / ownership verification for C
- Open source C23 front end - help wanted !
-
What is your favorite coding style? Why?
I have an open source project (https://github.com/thradams/cake) that can check coding style in case someone wants to help.
-
How to implement defer statement
Actually this is suggestion for myself.(https://github.com/thradams/cake/issues/22)
- Linter for certain style for C code
-
Command line tool buildgen
# Compiling https://github.com/thradams/cake cmake_minimum_required (VERSION 3.20)
- What is something you would have changed about the C programming language?
What are some alternatives?
cyclonic - WIP port of cyclone to modern platforms
lang - This is the source code repository for the Lang Programming Language, containing a compiler, documentation and soon-to-be standard library.
cedro - C programming language extension: Cedro pre-processor
run-clang-format - A wrapper script around clang-format, suitable for linting multiple files and to use for continuous integration
cyclone
tombl - Easily query TOML files from bash
BorrowScript - TypeScript with a Borrow Checker. Multi-threaded, Tiny binaries. No GC. Easy to write.
pg_netstat - PostgreSQL extension to monitor database network traffic
checkedc-clang - This repo contains a version of clang that is being modified to support Checked C. Checked C is an extension to C that lets programmers write C code that is guaranteed by the compiler to be type-safe.
pycparser - :snake: Complete C99 parser in pure Python
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!