350 private links
wrappers, pgrx, pgdog, ParadeDB, Neon (Postgres in S3)
Indeed Rust is efficient. Postgres also covers a lot of features.
Key features:
- (mostly) Static memory management
- Advanced type system
- LLVM-backed compiler with "write once, run anywhere"
- Open governance and decentralized development
There are drawbacks:
- weird proposals
- the compiler uses a lot of resources
- the syntax can be heavy sometimes
- it's anemic standard library. It's a nightmare of supply chain security. The rust needs an official extended standard library packages for all the most common tasks: base64, crypto, rand, uuid...
Haha, Rust
An example of backend project built with Axum to consume databases and provide a UI for it
An alternative to Axum.
Now with Firefox support
Seeds data automatically for databases. It's marketing tells it's more automated than fakerJS.
Rust provides a single binary (lightweight compared to JS and more cache-efficient for Docker layers)
(via https://www.reddit.com/r/rust/comments/1r1emah/rewrote_my_nodejs_data_generator_in_rust_20x/ which seems generated by AI)
It feels wrong to write HTML that way, but maybe I am too used to the HTML we daily use as web developer.
I like the research though.
NetBSD integrated Lua, but Rust is a non-starter in the core of NetBSD because: rust does not compile verywhere, keeping rust working is quite a bit of work, the bootstrap relies on a binary package of the previous version, the compiler would have to be part of the base system and the release cycle of Rust is not compatible with the NetBSD ones.
Issues with SQLite:
- The test suite is not open source
- External contributions are not welcomed
- It's written in C, which is nowadays prone to easily-avoidable bugs, hard to maintain and add new features
- SQLite does not support concurrent writes
- Columns are weakly typed
Note the SQLite documentation hints Rust as a potential language for a rewrite under conditions listed at the end of the page.
Where Turso is good: scaling (instead of switching to PostgreSQL). Also it's simple to build an extension for it