bonsaidb
cpp-from-the-sky-down | bonsaidb | |
---|---|---|
5 | 25 | |
262 | 979 | |
0.8% | 0.6% | |
0.0 | 7.9 | |
29 days ago | about 2 months ago | |
HTML | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
cpp-from-the-sky-down
-
Show HN: Inbox Zero – open-source email assistant
If you are looking for a simple solution for inbox zero for gmail - quickly classify emails as archive, follow-up, read through, take a look at my hacky attempt.
https://github.com/google/cpp-from-the-sky-down/blob/master/...
It is inspired by vim. It downloads all the email snippets and sorts them in descending order by sender and date.
Then you use “j”, “k” to navigate through the emails. You can press “a” for archive, “f” for follow up, and “r” for read through. You can also press “p” to navigate to next email prefix (the stuff before the @) and “d” to navigate to the next domain. Like vim you can combine keystrokes. “ad” will archive all the emails from the present position to the next domain. Since these are sorted by reverse date, often you can look at recent dates and archive the rest.
All operations happen in memory so they are instantaneous. You the press “w” to actually move the messages on the server as a batch operation.
It is really useful if you are getting started or are falling behind and need to quickly classify a few thousand emails.
It is a single 500 line Rust program so you can hack on it to change it to how you like it.
-
Code Generator for SQLite
>The generated code always checks the various return codes and always uses the correct column ordinals and column types when binding or reading data to or from the SQLite system — areas that are notoriously difficult to get right and keep right.
If you care mostly about this part, and are using C++20, you can use meta programming to accomplish this with some annotations of your SQL statements, and avoid code generators and separate syntax.
https://github.com/google/cpp-from-the-sky-down/blob/master/...
ftsd::prepared_statement<
-
What's everyone working on this week (15/2021)?
I am using sqlite as the database via rusqlite. I am using my own project: tagged_rusqlite (cpp-from-the-sky-down/rust/tagged_rusqlite at master · google/cpp-from-the-sky-down (github.com) ) on top of rusqlite for strongly typed rows and query params.
-
Tagged Rusqlite: Simple, lightweight, SQL typing proof of concept
The full code is at: https://github.com/google/cpp-from-the-sky-down/blob/master/rust/
-
iface - Anonymous, non-intrusive interfaces in C++
cpp-from-the-sky-down/example.cpp at master · google/cpp-from-the-sky-down · GitHub
bonsaidb
-
Two Years of BonsaiDb: A retrospective and looking to the future
I do have ideas in the issue tracker on some of the next steps towards an actual migration system.
-
Some key-value storage engines in Rust
What about https://github.com/khonsulabs/bonsaidb? Progress seems stall since last summer but very cool project
-
Are there a demand for management system of embedded storage like RocksDB? I plan to build one in Rust as the language becoming a core of many popular databases but wonder if there’s a demand. Can’t find any similar project even in other languages.
There is Nebari which is the KV part of BonsaiDB I've used both successfully (and that is currently in production)
-
Is `inlining` a function essentially the same thing as writing a macro?
In BonsaiDb, I define entire test suites as macros. This crate has a common trait that has multiple implementations in different crates. Each implementation needs to be tested thoroughly. For cargo test to be able to work in each crate independently, I needed to have the #[test]-annotated functions in the crate being built. By using a macro, I can define the functions in one location and invoke the macro in each crate to import the test suite into that crate.
-
bonsai-bt: A Behavior Tree library in Rust for creating complex AI logic https://github.com/Sollimann/bonsai
hey, just letting you know that there already is a project called bonsai-db and some people might confuse bonsai-bt as part of that project
-
What's everyone working on this week (12/2022)?
I'm finishing up a large refactor of BonsaiDb which will add support for using BonsaiDb in non-async code.
- BonsaiDB: Document database that grows with you, written in Rust
-
What's everyone working on this week (10/2022)?
I'm working on a major refactoring of BonsaiDb, aiming to improve the design of several interrelated features. While it started by aiming to enable a non-async interface for BonsaiDb, I realized mid-refactor that another major refactor would be better to do simultaneously rather than separately. Thank goodness that refactoring in Rust is such a wonderful experience!
-
Announcing BonsaiDb v0.1.0: A Rust NoSQL database that grows with you
It depends on what you mean by "support graphs". If you mean support the abillity to build a GraphQL interface in front of it, yes that is already possible in a limited fashion, although there are no first-class relationship types yet.
-
What's everyone working on this week (5/2022)?
I'm trying to release the first alpha of BonsaiDb. I'm wrapping up replacing OPAQUE with Argon2, in an effort to make upgrading less likely to cause issues in the future (given that OPAQUE is still a draft protocol). I still love OPAQUE and will bring it back in the future.
What are some alternatives?
SIMple-Electronics - digital logic sim
sled - the champagne of beta embedded databases
wezterm - A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
cosmicverge - A systematic, sandbox MMO still in the concept phase. Will be built with Rust atop BonsaiDb and Gooey
lemon-rs - LALR(1) parser generator for Rust based on Lemon + SQL parser
tokei - Count your code, quickly.
Native Windows GUI - A light windows GUI toolkit for rust
fullstack-rust - Reference implementation of a full-stack Rust application
mos - An assembler, code formatter, language server and debug adapter for the MOS 6502 CPU.
cherrybomb - Stop half-done APIs! Cherrybomb is a CLI tool that helps you avoid undefined user behaviour by auditing your API specifications, validating them and running API security tests.
quinn - Async-friendly QUIC implementation in Rust
litestream - Streaming replication for SQLite.