rust-by-example
nip2
Our great sponsors
rust-by-example | nip2 | |
---|---|---|
66 | 6 | |
6,619 | 333 | |
2.5% | 1.2% | |
8.6 | 3.7 | |
10 days ago | about 2 months ago | |
Handlebars | C | |
Apache License 2.0 | GNU General Public License v3.0 only |
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-by-example
- Learning Rust for project.
-
A Beginner’s Guide to the Solana Web3 Stack
Rust can feel a bit intimidating at first but once you start getting the hang of it, you will enjoy it a lot. It has a very well articulated documentation, which can be used as a good learning resource too. Some other resources for Rust include Rustlings and Rust-By-Example.
-
Jumping into Rust for the first time. Is the interactive Rust textbook, published by the CS department at Brown University, a good starting point?
Rust by Example
-
How to move to rust from c++?
Rust by Example: Collection of runnable examples, which many find useful to read
-
Picking Up Rust Before C With My Goals In Mind?
I more or less went straight from The Book (see also Rust by Example) to Learning Rust With Entirely Too Many Linked Lists and code::dive conference 2014 - Scott Meyers: Cpu Caches and Why You Care and I've often seen PNGme suggested as the next step after that.
-
How do I return a value from match construct?
Context around the "rust by example" discussion from 2015: https://github.com/rust-lang/rust-by-example/issues/390
-
From High-Level to Systems Programming: A Practical Guide to Rust, Part 2
The Rust By Example website is another helpful resource for learning Rust. It provides a series of interactive examples that demonstrate how to use various Rust features and libraries.
-
How to learn Rust (for backend) ?
The book is great and was my original introduction to the language, but rustlings or Rust By Example might be more interesting for an interactive (and more self paced) approach.
-
Learning rust
Rust by Example: Rust by Example is a collection of runnable examples that cover a wide range of Rust concepts and standard libraries. It's a great way to see how Rust code works in practice.
-
Me: "I'm going to learn rust for Advent of code!" Also me:
Some tips for Rust: I went through Rust by Example religiously, prior to AOC. This helped a lot. And then the Too Many Lists guide when I needed to build some data structures (not lists per se, but rather figuring out how to deal with ownership in dynamic lists helped to build graph structures). That guide may be less adequate now, but these days, there's cheats.rs which looks like something that I was missing when writing then.
nip2
-
New gtk4 image viewer
It's actually a prototype for the image view window for the next version of nip2, so it's going to be part of a much larger program. I'll need arrow keys to scroll the image rather than moving between files.
-
Nip2: “a strange combination of a spreadsheet and a photo editor”
nip2 has `.ws` files for storing workspaces (just a big chunk of XML), and `.def` files for its own scripting language.
The nip2 scripting language is also very odd: it's something like dynamically typed Haskell, but with classes. You can see roughly what it looks like here:
https://github.com/libvips/nip2/blob/master/share/nip2/start...
All of the menus are implemented in this thing.
- Image Roll - my new simple and fast GTK image viewer with basic image manipulation tools. Written in Rust.
What are some alternatives?
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!
book - The Rust Programming Language
zero-to-production - Code for "Zero To Production In Rust", a book on API development using Rust.
monkey - Monkey patching in Go
RustBooks - List of Rust books
easy_rust - Rust explained using easy English
reference - The Rust Reference
fp-core.rs - A library for functional programming in Rust
tour_of_rust - A tour of rust's language features
monad-challenges - A set of challenges for jump starting your understanding of monads.
crates.io - The Rust package registry
realworld-axum-sqlx - A Rust implementation of the Realworld demo app spec using Axum and SQLx.