checkedc
rust.ko
Our great sponsors
checkedc | rust.ko | |
---|---|---|
21 | 1 | |
3,183 | 889 | |
0.6% | - | |
0.0 | 0.0 | |
over 1 year ago | about 3 years ago | |
C | Rust | |
GNU General Public License v3.0 or later | - |
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.
checkedc
- The NSA list of memory-safe programming languages has been updated
-
The Fil-C Manifesto: Garbage In, Memory Safety Out
https://github.com/microsoft/checkedc
Also, one can combine subsets of C with FOSS, static analyzers that can handle those subsets. Then, compose only in ways that the tools can handle. Then, combinatorial and fuzz testing of the interface composition.
I know you’re doing the project for fun while exploring specific ways to achieve your goals. So, these are just some links and concepts that might help on your journey. Lots of folks don’t know about prior work in this area. So, I keep passing it on.
-
My Bad Habit of Hoarding Information
- [Checked C](https://github.com/microsoft/checkedc) - extensions to make C safer #cpp
- Checked C
- Is it possible to have a superset of the C programming languages standard that is as safe as Rust?
- Checked C by Microsoft Research
-
Azure CTO: “It's time to halt starting any new projects in C/C++ ”
Yes. Microsoft Research is working on "Checked C": https://www.microsoft.com/en-us/research/project/checked-c/
As a test, someone ported FreeBSD's networking stack to Checked C. It was easy and there was no overhead to performance and binary size.
-
I want to learn csharp man
Haha. I think they did ultimately agree. Thus a later research project is: Checked-C
rust.ko
-
Linux Rust Support
To be fair, I was just a teenager back then and I was out of kernel development for quite a few years afterwards.
But you are right, this is not coming from the Rust community itself. In fact, several independent groups have been thinking of using Rust in one way or another for kernel purposes, as early as... 2013 (!), e.g. from Taesoo Kim:
https://github.com/tsgates/rust.ko/commit/58f0fb8fdf4063f5b24a09cbfeec81bf28a9d81b
What are some alternatives?
koka - Koka language compiler and interpreter
manyclangs - Repository hosting unofficial binary pack files for many commits of LLVM
dafny - Dafny is a verification-aware programming language
c2rust - Migrate C code to Rust
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
linux - Linux kernel source tree
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
wuffs - Wrangling Untrusted File Formats Safely
rust - Empowering everyone to build reliable and efficient software.
The-C-Programming-Language - Answers to exercises in K&R's The C Programming Language (second Edition).