cyclone VS cedro

Compare cyclone vs cedro and see what are their differences.

cyclone

Cyclone is a type- and memory-safe dialect of C (by pippijn)

cedro

C programming language extension: Cedro pre-processor (by Sentido-Labs)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
cyclone cedro
7 6
1 44
- -
10.0 3.4
about 10 years ago about 1 year ago
C C
GNU General Public License v3.0 only Apache License 2.0
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.

cyclone

Posts with mentions or reviews of cyclone. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-03.
  • Maestro: A Linux-compatible kernel in Rust
    7 projects | news.ycombinator.com | 3 Jan 2024
    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
    1 project | news.ycombinator.com | 17 Sep 2023
    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?
    5 projects | /r/ProgrammingLanguages | 4 Nov 2022
    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?
    3 projects | /r/rust | 24 Oct 2022
    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?
    6 projects | /r/C_Programming | 12 Sep 2022
  • Is my method of programming wrong?
    2 projects | /r/AskProgramming | 6 Jun 2022
    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
    6 projects | news.ycombinator.com | 13 Feb 2022

cedro

Posts with mentions or reviews of cedro. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-08.
  • OOP in C
    7 projects | news.ycombinator.com | 8 Jan 2023
    I’ve built it for now in a separate branch called “self”:

        git clone -b self https://github.com/Sentido-Labs/cedro.git
  • What do you think about a C transpiler?
    6 projects | /r/C_Programming | 12 Sep 2022
    Currently, it does not make any difference whether this is one token or more because it is sent to the compiler exactly the same as it came in, but you could write a macro/plugin (src/macros/] that recognized this pattern and inserted a space right before the minus “-” sign.
  • Show HN: Loop macros, label break, slices in C with the Cedro preprocessor
    2 projects | news.ycombinator.com | 28 Apr 2022
    Hi, when I presented the first release here 8 months ago (https://news.ycombinator.com/item?id=28166125) it got interesting comments and today I’ve made a new release with additional features:

    - Break out of nested loops: break label; (https://sentido-labs.com/en/library/cedro/202106171400/#labe...)

    - Notation for array slices: array[start..end] (https://sentido-labs.com/en/library/cedro/202106171400/#slic...)

    - Loop macros: #foreach { ... #foreach } (https://sentido-labs.com/en/library/cedro/202106171400/#loop...)

    The possibility of loop macros was discussed in this thread: https://news.ycombinator.com/item?id=28166698

    At the time I hadn’t figured out how to make it useful without type information, but now it works. The same for the array slice notation: it took me a while to figure out how to make it do something useful without reflection, with a purely syntantical transformation.

    Loop macros are useful for the kind of things for which you would use x-macros (https://en.wikipedia.org/wiki/X_Macro), with the advantage that it does not pollute the global namespace with macro names and the body of the macro stays more similar to the final result, which makes big macros easier to read.

    Since it runs before the standard C preprocessor it can do things like building up `_Generic` macros as shown in the loop macro vec example: https://sentido-labs.com/en/library/cedro/202106171400/#loop...

    Source code (Apache 2.0 license): https://sentido-labs.com/en/library/ or https://github.com/Sentido-Labs/cedro

  • is there a c function exit hook?
    1 project | /r/C_Programming | 21 Feb 2022
    If pre-processing your code is an acceptable compromise, my Cedro pre-processor has that feature: passing a file through it produces standard C code for your compiler, and it includes a wrapper cedrocc that can be used in Unix/POSIX-style systems like Linux as a drop-in replacement for GCC: https://github.com/Sentido-Labs/cedro/
  • Keeping POWER relevant in the open source world
    9 projects | news.ycombinator.com | 22 Jan 2022
    What I’d like to do is a quick proof-of-concept to see whether whatever instructions are available in my CPU can be leveraged for UTF-8 en-/decoding.

    For instance, does it work any better than my C implementation? https://github.com/Sentido-Labs/cedro/blob/master/src/cedro....

    Maybe the compiler already compiles that to an optimal SIMD version, I don’t know.

What are some alternatives?

When comparing cyclone and cedro you can also consider the following projects:

cyclonic - WIP port of cyclone to modern platforms

cake - Cake a C23 front end and transpiler written in C

a2i

cyclone

ooduck - Duck-Typing C library based on ooc.pdf

BorrowScript - TypeScript with a Borrow Checker. Multi-threaded, Tiny binaries. No GC. Easy to write.

a2o

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.

librealsense - Intel® RealSense™ SDK

Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!

ciao - Ciao is a modern Prolog implementation that builds up from a logic-based simple kernel designed to be portable, extensible, and modular.