Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yrashk/zig-rcsp
Reference-counted Shared Pointer for Zig
https://github.com/yrashk/zig-rcsp
Last synced: 3 months ago
JSON representation
Reference-counted Shared Pointer for Zig
- Host: GitHub
- URL: https://github.com/yrashk/zig-rcsp
- Owner: yrashk
- License: other
- Created: 2020-04-23T19:08:04.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-03T19:48:50.000Z (over 1 year ago)
- Last Synced: 2024-08-03T04:08:56.347Z (7 months ago)
- Language: Zig
- Size: 24.4 KB
- Stars: 27
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zig - zig-rcsp🗒️Reference-counted Shared Pointer for Zig
README
# Reference-counted Shared Pointer for Zig
This is an implementation of (both atomically and non-atomically) reference-counted shared pointer for [Zig](https://ziglang.org). It's somewhat similar to Rust's [Rc](https://doc.rust-lang.org/std/rc/struct.Rc.html) and [Arc](https://doc.rust-lang.org/std/sync/struct.Arc.html) as well as C++'s [shared_ptr](https://en.cppreference.com/w/cpp/memory/shared_ptr).
It's in early stages of development and is **not** proven to be correct or feature-complete. Let's call it a prototype.