lru-rs | zorrow | |
---|---|---|
3 | 2 | |
590 | 94 | |
- | - | |
6.7 | 10.0 | |
2 months ago | about 1 year ago | |
Rust | Zig | |
MIT License | MIT License |
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.
lru-rs
-
“Rust is safe” is not some kind of absolute guarantee of code safety
For reference, the fix for https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45720 was as simple as this commit: https://github.com/jeromefroe/lru-rs/commit/ea64c8f932a45434cbc71d3843d28af7c1819864.
-
How Safe Is Zig?
You didn't seem to click the commit the guy linked with the rust code https://github.com/jeromefroe/lru-rs/pull/121/commits/416a2d...
It has nothing to do with opting out. Zig, Rust and no language saves you when you write incorrect unsafe code. My original point is disqualifying c tools is misleading and everything suffers from incorrect unsafe code
zorrow
- Borrow checker for Zig?
-
How Safe Is Zig?
Somebody implemented part of it in the past, but it was based on the ability to observe the order of execution of comptime blocks, which is going to be removed from the language (probably already is).
https://github.com/DutchGhost/zorrow
It's not a complete solution, among other things, because it only works if you use it to access variables, as the language has no way of forcing you.
What are some alternatives?
stable_deref_trait - Unsafe marker trait for types that deref to a stable address
tigerbeetle - A distributed financial accounting database designed for mission critical safety and performance. [Moved to: https://github.com/tigerbeetledb/tigerbeetle]
rust - Empowering everyone to build reliable and efficient software.
arm-trusted-firmware - Read-only mirror of Trusted Firmware-A
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
pure - A static analysis file format checker.
Vale - Compiler for the Vale programming language - http://vale.dev/
tigerbeetle - The distributed financial transactions database designed for mission critical safety and performance.