pure
zorrow
pure | zorrow | |
---|---|---|
3 | 2 | |
233 | 94 | |
0.0% | - | |
10.0 | 10.0 | |
almost 4 years ago | over 1 year ago | |
C | 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.
pure
-
Hacker News top posts: Jun 27, 2022
Pure: A static analysis file format checker\ (6 comments)
- Pure: A static analysis file format checker
-
How Safe Is Zig?
Wow, that's saying something!
The tool is called Pure [1]. It was originally written in JavaScript and open-sourced, then rewritten for Microsoft in C (running sandboxed) after it detected David Fifield's “A Better Zip Bomb” as a zero day.
I'd love to rewrite it in Zig some day to benefit from the checked arithmetic, explicit control flow and spatial safety—there are no temporal issues for this domain since it's all run-to-completion single threaded.
Got to admit I'm a little embarrassed it's still in C!
[1] https://github.com/ronomon/pure
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?
lru-rs - An implementation of a LRU cache
rust - Empowering everyone to build reliable and efficient software.
stable_deref_trait - Unsafe marker trait for types that deref to a stable address
yboard - Yboard is a multiplayer desktop-like workspace based on Yjs
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Vale - Compiler for the Vale programming language - http://vale.dev/