rust-zero-cost-abstractions VS proofs

Compare rust-zero-cost-abstractions vs proofs and see what are their differences.

rust-zero-cost-abstractions

Testing out a Zero Cost Abstraction in Rust compared to similar approaches in C# and Java (by mike-barber)

proofs

My personal repository of formally verified mathematics. (by stepchowfun)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
rust-zero-cost-abstractions proofs
1 5
45 286
- -
0.0 8.9
over 1 year ago 6 days ago
C# Coq
- 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.

rust-zero-cost-abstractions

Posts with mentions or reviews of rust-zero-cost-abstractions. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-01.
  • Formally Verifying Rust's Opaque Types
    2 projects | news.ycombinator.com | 1 Aug 2022
    Your "run-time" code with iterators vs with a hand made for loop tends to result in the same set of instructions. Often the iterator usage will also enable optimizations that make the loop faster.

    * https://github.com/mike-barber/rust-zero-cost-abstractions

    * https://carette.xyz/posts/zero_cost_abstraction/

    * https://ruudvanasseldonk.com/2016/11/30/zero-cost-abstractio...

proofs

Posts with mentions or reviews of proofs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-03.
  • A Taste of Coq and Correct Code by Construction
    3 projects | news.ycombinator.com | 3 Sep 2023
    If you're already familiar with a functional programming language like Haskell or OCaml, you have the prerequisite knowledge to work through my Coq tutorial here: https://github.com/stepchowfun/proofs/tree/main/proofs/Tutor...

    My goal with this tutorial was to introduce the core aspects of the language (dependent types, tactics, etc.) in a "straight to the point" kind of way for readers who are already motivated to learn it. If you've heard about proof assistants like Coq or Lean and you're fascinated by what they can do, and you just want the TL;DR of how they work, then this tutorial is written for you.

    Any feedback is appreciated!

  • Thoughts on proof assistants?
    4 projects | /r/ProgrammingLanguages | 13 Dec 2022
    Personally I treat Coq like an extension of my brain. Whenever I'm uncertain about something, I formalize it in Coq. I have a repository of proofs with GitHub Actions set up in such a way forbids me from pushing commits containing mathematical mistakes. I've formalized various aspects of category theory, type theory, domain theory, etc., and I've also verified a few programs, such as this sorting algorithm. Lately I've been experimenting with a few novel types of graphs, proving various properties about them with the aim of eventually developing a way to organize all of my data (files, notes, photos, passwords, etc.) in some kind of graph structure like that.
  • Formally Verifying Rust's Opaque Types
    2 projects | news.ycombinator.com | 1 Aug 2022
    It's always a pleasant surprise to see people using Coq and other formal verification technology. We need more rigor in programming! If this article gave you a thirst for interactive theorem proving and you want to learn it from the ground up, I've recently written a Coq tutorial [1] which covers topics like programming with dependent types, writing proofs as data, and extracting verified code. That repository also contains a handy tactic called `eMagic` [1] (a variant of another useful tactic called `magic` which solve goals with existentials) which can automatically prove the theorem from the article.

    [1] https://github.com/stepchowfun/proofs/tree/main/proofs/Tutor...

    [2] https://github.com/stepchowfun/proofs/blob/56438c9752c414560...

  • A complete compiler and VM in 150 lines of code
    4 projects | news.ycombinator.com | 16 Jul 2022
    For anyone who wants to learn Coq, I've just finished writing a tutorial [1] that is aimed at programmers (rather than, say, computer scientists). It covers topics like programming with dependent types, writing proofs as data, universes & other type theory stuff, and extracting verified code—with exercises. I hope people find it useful, and any feedback would be appreciated!

    [1] https://github.com/stepchowfun/proofs/tree/main/proofs/Tutor...

  • New Coq tutorial
    3 projects | /r/ProgrammingLanguages | 5 Jul 2022
    Hi all, Coq is a "proof assistant" that allows you to write both code and proofs in the same language (thanks to the Curry–Howard correspondence). Its uses range from pure math (e.g., the Feit–Thompson theorem was proven in Coq!) to reasoning about programming languages (e.g., proving the soundness of a type system) to writing verified code (e.g., this verified C compiler!). You can "extract" your code (without the proofs) to OCaml/Haskell/Scheme for running it in production. Coq is awesome, but it's known for having a steep learning curve (it's based on type theory, which is a foundational system of mathematics). It took me several years to become proficient in it. I wanted to help people pick it up faster than I did, so I wrote this introductory tutorial. Hope you find it useful!

What are some alternatives?

When comparing rust-zero-cost-abstractions and proofs you can also consider the following projects:

CompCert - The CompCert formally-verified C compiler

master-thesis

hacspec - Please see https://github.com/hacspec/hax

ccc-talk - Correct Code by Construction talk's code

coq-simple-io - IO for Gallina

parson - Yet another PEG parser combinator library and DSL

aneris - Program logic for developing and verifying distributed systems

rupicola - Gallina to Bedrock2 compilation toolkit

sml-redprl - The People's Refinement Logic

dafny - Dafny is a verification-aware programming language

mathlib - Lean 3's obsolete mathematical components library: please use mathlib4