sqlite3-ocaml
zero-to-production
sqlite3-ocaml | zero-to-production | |
---|---|---|
2 | 85 | |
110 | 5,087 | |
- | - | |
2.9 | 4.0 | |
7 months ago | about 1 month ago | |
OCaml | Rust | |
GNU General Public License v3.0 or later | 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.
sqlite3-ocaml
-
How I got involved in the Rust community
> I couldn't find a single datetime library that has a concept of instances that could be interpreted in different time zones.
Jane Street's Core has a good timezone support (the thing you need is pair Date.t * Time_ns.Ofday.t). sqlite3-ocaml [1] seems reasonably documented.
[1] https://github.com/mmottl/sqlite3-ocaml
-
I've done TUI (Terminal User Interface) app. This is what it looks like
As some can guess, the architecture was heavily inspired by Elm and Elmish parent-child patterns. Notty - is a cool library, which is a perfect choice for a simple terminal draw. But keep in mind, that you will be responsible for focus management and isolation of all event handlings. Sqlite3-OCaml - is totally imperative library, because it is just bindings on C library. But you get all the essential functionality with which you can build yourself the needed level of abstraction.
zero-to-production
-
Empowering Web Privacy with Rust: Building a Decentralized Identity Management System
Zero to Production in Rust - Book by Luca Palmieri: An in-depth book that guides readers through building a fully functional backend application in Rust, from zero to production.
-
Rust books to read
And the book "Zero To Production In Rust - An introduction to backend development", I didn’t read it yet but seems pretty good
-
How to read a YAML configuration file in my Rust service?
It’s a lot simpler if you add serde to the mix (derive Deserialize for your settings types). Have a look at the example from the Zero to Production book: https://github.com/LukeMathWalker/zero-to-production/blob/main/src/configuration.rs
-
Ask HN: What to use for a Rest API written in Rust?
You probably want to check out the Zero to Production book which is about using Rust for back-end development.
https://www.zero2prod.com/
-
I’ve fallen in love with rust so now what?
If your'e more into a tutorial with a book https://www.zero2prod.com/ is really good. You gonna build a newsletter service. With all the good stuff in backend development.
-
Hyper – A fast and correct HTTP implementation for Rust
If you want to build a backend in Rust, Axum (which uses hyper underneath) is pretty recommended these days, as it's all in the tokio ecosystem. Actix Web is good too, but it has its own ecosystem of libraries. I read the book Zero To Production in Rust [0] which was a great overview on not just Rust but scalable backend architectures as a whole.
Interestingly, Cloudflare wanted to use hyper but found that it was too correct, so they had to build their own [1].
[0] https://www.zero2prod.com
[1] https://blog.cloudflare.com/how-we-built-pingora-the-proxy-t...
-
Conversion?
In addition to the book, which has already been recommended. If you’re specifically into backend you should try Zero to Production. Luca really knows what he’s talking about, and it’s an excellent overview of backend rust and the development process in general.
-
Do you know any programming tutorials where somebody explains how to write an app from the architecture point of view?
I highly recommend the book Zero to Production in Rust which also has an associated GitHub. I like the style of the writing and the explanations used within the book. Even though it uses Rust, the concepts seem to work in any language - I have applied the concepts to both Go and Python in the past.
-
Opensource to learn from?
I would recommend you a book - "Zero to Production in Rust" https://www.zero2prod.com/
-
Simple projects to practice Rust?
if you want to learn more about web backend development there is nothing better then https://www.zero2prod.com/
What are some alternatives?
reason - Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
rust-by-example - Learn Rust with examples (Live code editor included)
notty - Declarative terminal graphics for OCaml
realworld-axum-sqlx - A Rust implementation of the Realworld demo app spec using Axum and SQLx.
postgresql-ocaml - OCaml-bindings for the PostgreSQL database
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
GeneWeb - GeneWeb is a free (as in free speech) genealogy software with a web interface created by Daniel de Rauglaudre.
black-hat-rust - Applied offensive security with Rust - https://kerkour.com/black-hat-rust
amber-docs - https://openjdk.org/projects/amber
rust-blog - Educational blog posts for Rust beginners
Sandstorm - Sandstorm is a self-hostable web productivity suite. It's implemented as a security-hardened web app package manager.
tour_of_rust - A tour of rust's language features