rust_sqlite
386bsd
rust_sqlite | 386bsd | |
---|---|---|
9 | 4 | |
1,058 | 567 | |
- | 0.0% | |
0.0 | 0.0 | |
almost 2 years ago | over 3 years ago | |
Rust | C | |
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.
rust_sqlite
- Writing a SQLite clone from scratch in C
- SQLite the only database you will ever need in most cases
- SQLRite – SQLite clone from scratch in Rust
-
What would SQLite look like if written in Rust? — Part 2
You may have noticed that throughout the entire code I am making reference to a SQLRiteError type. That is an error type I defined as an enum using the thiserror crate, that is a super easy to use library that provides a convenient derive macro for the standard library’s std::error::Error trait. If you check the commits in the github repository, you may notice that I first wrote my own implementation of the std::error::Error trait. But then I bumped into this trait, that basically takes care of a lot of the boiler plate, and let’s face it, the code looks super clean! This is our error module so far, located in src/error.rs .
-
New chapter on the series - Writing a SQLite clone from scratch in Rust
Also check out the github repo: https://github.com/joaoh82/rust_sqlite
- What would SQLite would look like if written in Rust?
- SQLite Clone from Scratch in Rust
-
What would SQLite look like if written in Rust? — Part 1
I assume that if you are trying to follow this and writing some code along with me you can manage to create an empty Rust project on your own. Just to be clear this is what I did to start: cargo new rust_sqlite --bin . But again, you can find all the code on Github.
-
What would SQLite look like if written in Rust? — Part 0
View on Github (pull requests are welcome)
386bsd
-
RIP Bill Jolitz (1957 – 2022), co-author of 386BSD
I'm 99% certain you could boot BSD from DOS back then too. 386BSD 1.0 contains a "boot.exe" which works with FreeDOS -as long as you don't load anything else!
https://github.com/386bsd/386bsd/tree/1.0
I think that FreeBSD 2.0 may have used the boot utility as well -but I'm not sure.
I remember when I encountered Linux in the late 90's there was a distro that sat on MS-DOS; I think it may have been "Monkey Linux" ( https://projectdevolve.tripod.com/table/descript.htm )? It wasn't Slackware -but I pretty quickly found slackware and began using "zipslack" (https://en.wikipedia.org/wiki/ZipSlack) before diving in and doing a real Linux install.
So by 97 or so Linux was figuring out more sophisticated ways to co-exist with DOS if not Windows95.
And yes, by the time XP was released Linux was popular enough that people didn't bother making kludges like that any more. It probably didn't help that vfat and fat32 were different than the old umsdos file system so that the drawbacks out-weighed the benefits.
-
Pale Moon developers (ab)use Mozilla Public License to shut down a fork supporting older Windows
Source: Porting Unix to 386 series at https://386bsd.org originally published in Dr. Dobbs Journal.
- Berkeley DB v1.6 (1993)
-
SQLRite – SQLite clone from scratch in Rust
This is interesting. I think you'll soon find that the in-memory data structures provided by Rust's std::collections aren't going to work for you when you start thinking about on-disk storage of data.
One resource that is invaluable for learning about databases is the code to the original Berkeley DB
https://github.com/386bsd/386bsd/tree/9eaf3b3359255f461055b8...
What are some alternatives?
sqlcipher - SQLCipher is a standalone fork of SQLite that adds 256 bit AES encryption of database files and other security features.
Mypal - Web browser
temporal_tables - Temporal Tables PostgreSQL Extension
openbsd-wip - OpenBSD work in progress ports
rustyline - Readline Implementation in Rust
medium-unlimited - A browser extension to read medium.com articles for free without membership.
llvm-cbe - resurrected LLVM "C Backend", with improvements
rqlite - The lightweight, distributed relational database built on SQLite.
chiselstrike - ChiselStrike abstracts common backends components like databases and message queues, and let you drive them from a convenient TypeScript business logic layer
rusqlite - Ergonomic bindings to SQLite for Rust
Sonarr - Smart PVR for newsgroup and bittorrent users.
squirrelbyte - a tool for gathering & exploring data