csmith VS yarpgen

Compare csmith vs yarpgen and see what are their differences.

csmith

Csmith, a random generator of C programs (by csmith-project)

yarpgen

Yet Another Random Program Generator (by intel)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
csmith yarpgen
7 3
940 452
2.1% 2.0%
4.1 6.0
3 months ago about 1 month ago
C++ C++
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
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.

csmith

Posts with mentions or reviews of csmith. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-26.

yarpgen

Posts with mentions or reviews of yarpgen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-10.
  • Property-Based Testing in Rust with Arbitrary
    4 projects | news.ycombinator.com | 10 Nov 2022
    One also may bias values to be similar (or equal) to other recently generated values. This was a trick used in the compiler tester yarpgen, where it was useful in testing optimization of bitwise operators on integers.

    https://github.com/intel/yarpgen

    https://github.com/intel/yarpgen/blob/main/papers/yarpgen-oo...

    (see "Policies for constants", page 196:8.)

  • Finding Bugs in C and C++ Compilers using YARPGen
    1 project | /r/programming | 19 Sep 2021
    This is really impressive! A link to the github if anyone wants to check out the code: https://github.com/intel/yarpgen/blob/main/README.md
    2 projects | /r/programming | 15 Feb 2021
    Here's a list of bugs found by Yarpgen: https://github.com/intel/yarpgen/blob/main/bugs.rst

What are some alternatives?

When comparing csmith and yarpgen you can also consider the following projects:

ouroboros-network - Specifications of network protocols and implementations of components running these protocols which support a family of Ouroboros Consesus protocols; the diffusion layer of the Cardano Node.

sxd

hn-search - Hacker News Search

MarkovJunior - Probabilistic language based on pattern matching and constraint propagation, 153 examples

perses - language-agnostic program reducer.

creduce - C-Reduce, a C and C++ program reducer