rkyv
tui-rs
rkyv | tui-rs | |
---|---|---|
13 | 68 | |
2,572 | 10,829 | |
1.6% | - | |
8.9 | 4.7 | |
10 days ago | 9 months ago | |
Rust | Rust | |
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.
rkyv
-
Müsli - An experimental binary serialization framework with more choice
And before you ask: This only provides partial zero-copy support in strings and byte arrays like serde. But it's not like rkyv which constructs validated references into the data.
-
A new major version of jql has been released
Regarding JSON, what kind of other implementation do you have in mind? I've seen e.g. `rkyv` which looks really neat (https://github.com/rkyv/rkyv/issues/85). So far `serde_json` is providing a clean surface API but maybe there's best solution?
-
My negative views on Rust
Thank you for your concern. I've done plenty of projects that go beyond a "Hello World" such as a GPU accelerated password cracker. I am starting soon a C++/Rust job. I already contributed to codebases I didn't write.
-
Hey Rustaceans! Got a question? Ask here! (37/2022)!
rkyv is awesome because it supports full zero-copy deserialization. You can serialize your HashMap to a file. Later you can directly use the HashMap from the file without creating and populating a new HashMap in memory (rkyv directly indexes into the raw bytes). For even faster access times you can even mmap the file.
-
Bizarre memory leak caused by tokio runtime
I had the same problem when trying to deserialize a big struct with rkyv: see rkyv#277.
-
Advice for the next dozen Rust GUIs
Any chance of working with zero-copy deserialization frameworks? like https://github.com/rkyv/rkyv or capnproto
-
Pijul 1.0 Beta
Hi, you seem to know a bit about Sanakirja!
It stores 4kb blobs, right? Does Pijul first parses the data (copying it to other allocations), or uses the data as is? I mean, there are some libraries like cap'n'proto[0] and rkyv[1] that can directly use the file contents as an in-memory data structure, I was wondering if Pijul did anything like that.
I mean, is this btree page [2] stored exactly like this on disk, and does Pijul exploits that to avoid further copying data?
(I guess there's a trouble with compression there: to decompress you really need to write in another buffer)
Also, is the I/O done with something that prevent userspace copies like mmap or io_uring, or does it eventually calls read() to copy the data to its own buffer?
I want to build something like Sanakirja, but with those features, so I'm wondering if there's any overlap.
[0] https://github.com/capnproto/capnproto-rust
[1] https://github.com/rkyv/rkyv
[2] https://docs.rs/sanakirja-core/latest/sanakirja_core/btree/p...
-
Is there a library like Serde but which makes it easy to mutate serialized data stored in a [u8] or Vec<u8>?
I think https://github.com/rkyv/rkyv does this. Also capnproto like was mentioned here, and perhaps https://docs.rs/zerocopy/0.6.1/zerocopy/index.html too
-
rkyv 0.7: Endian-agnostic types, `no_std` validation, performance improvements, github sponsors and more!
It's been two months since the last major rkyv release, and three months since the last major feature release. After all that time, I'm proud to announce that rkyv 0.7 is finally out!
-
rkyv 0.5: Comparison derives, serialize bounds, and the future
After roughly two months of work, rkyv 0.5 is finally out!
tui-rs
-
Trippy – A Network Diagnostic Tool
The TUI is built with the awesome Ratatui [0] library (formerly tui-rs [1]). UX is certainly not my area of expertise and I would not have been able to create Trippy without this library.
[0] https://github.com/ratatui-org/ratatui
[1] https://github.com/fdehau/tui-rs
-
Projectable: A TUI file manager built for projects
Rust has great libraries for TUIs. tui-rs (https://github.com/fdehau/tui-rs) has been used in numerous popular applications, but is unmaintained. ratatui (https://github.com/tui-rs-revival/ratatui) is the maintained version, and is pretty new. Less widely known is cursive (https://github.com/gyscos/cursive), which I have yet to try.
Aside from the libraries, I just wanted to start a project that would make be better at Rust. The easy distribution with cargo is a huge bonus though.
- ratatui 0.21.0 is released! (community fork of tui-rs)
-
Looking for advice around project direction using artix-web
CLI, use Clap. If you want to get fancy, use Tui.
-
[Media] Introducing Trippy: A Network Diagnostic Tool
u/lordnacho666 It uses the fabulous https://github.com/fdehau/tui-rs (now revived as https://github.com/tui-rs-revival/ratatui) TUI lib.
-
Introducing TUI-Journal: Your Personal Journal/Notes App for Terminal Enthusiasts
This app is based on the these two crate in rust (tui-rs , tui-textarea). The text area provide the Emacs motions and I integrated the vim motions there, but the editor in this app as much simpler than the huge VIM and Emacs systems
If you interested in the TUI apps in rust you can start with the crate tui-rs or its revival ratatui. They have examples inside of them which you can start and see the source code to get the basic functionalities. For the text editor you can check examples in the crate tui-textarea.
-
Ink: React for interactive command-line apps
For Golang there is Bubbletea [1], Textual [2] for Python and tui-rs for Rust [3].
[1] https://github.com/charmbracelet/bubbletea
[2] https://github.com/textualize/textual
[3] https://github.com/fdehau/tui-rs
-
Building a task manager app on CLI similar to "top" command in Linux, how to add a feature to kill processes via process ID?
You can check tui-rs, is a library to build CLI interfaces and has some examples about using user input without blocking the UI
- [Rust] Si vous voulez relancer la caisse `` Tui`, rejoignez-nous!
What are some alternatives?
rust-serialization-benchmarks
crossterm - Cross platform terminal library rust
NoProto - Flexible, Fast & Compact Serialization with RPC
Cursive - A Text User Interface library for the Rust programming language
capnproto-rust - Cap'n Proto for Rust
pancurses - A Rust curses library, supports Unix platforms and Windows
zero-copy-pads - Padding/aligning values without heap allocation
Termion - Mirror of https://gitlab.redox-os.org/redox-os/termion
jj - A Git-compatible VCS that is both simple and powerful
monkeytype - The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
tree-buf - An experimental serialization system written in Rust
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.