Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soheil-01/minimal-rocksdb
Minimal RocksDB with zig
https://github.com/soheil-01/minimal-rocksdb
rocksdb zig
Last synced: about 2 months ago
JSON representation
Minimal RocksDB with zig
- Host: GitHub
- URL: https://github.com/soheil-01/minimal-rocksdb
- Owner: soheil-01
- Created: 2024-03-06T16:05:13.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-06T17:27:34.000Z (10 months ago)
- Last Synced: 2024-03-07T18:07:39.807Z (10 months ago)
- Topics: rocksdb, zig
- Language: Zig
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minimal RocksDB
My Second project while learning Zig, based on [A minimal RocksDB example with Zig
](https://notes.eatonphil.com/zigrocks.html).## Build
```bash
git clone https://github.com/facebook/rocksdb
(cd rocksdb && make shared_lib -j8)
zig build
```## Run
```bash
./zig-out/bin/main set a 10
./zig-out/bin/main set b 20
./zig-out/bin/main list
a = 10
b = 20
./zig-out/bin/main get a
10
```