Hello all, I’m learning Rust after years of programming mainly in C/C++.

Python has a very neat shelve library: https://docs.python.org/3/library/shelve.html It’s basically a dict (hash table), but is located on disk instead of memory. It’s great for easy persistence and also for working with massive objects that won’t fit into memory.

Is there anything similar for Rust? I could not find any, but I’m still learning Rust and could have missed it.

@nutomic
mod
admin
link
fedilink
71M
@incici
creator
link
fedilink
21M

Exactly this, thank you!

@brombek
link
fedilink
41M

I did not try them but perhaps you can check:

I was hoping for BerkeleyDB or Kyoto Cabinet bindings that I have used in my Ruby times for this purpose but nothing there that looks maintained.

Rust Programming
!rust
    • 0 users online
    • 1 user / day
    • 1 user / week
    • 13 users / month
    • 54 users / 6 months
    • 1.56K subscribers
    • 360 Posts
    • 419 Comments
    • Modlog