Rustlings
ziglings
Our great sponsors
Rustlings | ziglings | |
---|---|---|
224 | 28 | |
34,045 | 2,093 | |
3.1% | - | |
9.4 | 7.9 | |
6 days ago | 10 days ago | |
Rust | Zig | |
MIT License | 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.
Rustlings
-
Bongo Copy Cat: A Tauri Cat that wants to be involved in everything you do 👨💻👩💻
So here's the story. I decided to learn Rust, read the docs, solved the rustlings challenges. The next step in learning a new programming language is to build something with it. And so began my dilemma.
-
Is this an idiomatic or an idiotic use of '?' ?
I'm learning Rust and solving the rustlings exercises.
-
From High-Level to Systems Programming: A Practical Guide to Rust, Part 1
Rustlings is a CLI-based open source project of small challenges that help to grow your knowledge of the language.
-
High-performance language recommendation
i can't truly speak to the relative steepness, i think like both rust and c++ can get quite steep depending on what you're doing but can also be simple in other cases. best to just try it out i'd say :) the rustlings guide https://github.com/rust-lang/rustlings which parallels the rust book https://doc.rust-lang.org/book/ is a good way to learn. doing things like advent of code could also help. the most common hurdles with rust are "lifetimes" and "the borrow checker", and it just takes practice to figure them out
-
need some help returning a value
I recommend checking out the Rustlings exercises - they provide a really good overview of approaching concepts in Rust, if you're having difficulty with the docs.
perfect thank you so much for the explanation and for the link i got it working :)
-
What's everyone working on this week (52/2022)?
Working through the rustlings exercises
-
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
Rustlings: This is a great resource for getting started with Rust, with small exercises to help you get comfortable reading and writing code.
ziglings
-
Ask reddit: What learning resources have taught you the most about zig?
Along with ziglearn, I also found ziglings useful.
- Bun v0.5
-
Thinking of learning Zig and systems programming
I suggest to learn by fixing tiny broken programs: https://github.com/ratfactor/ziglings
-
Ask HN: What is the coding exercise you use to explore a new language?
+1 for rustlings, which also inspired "ziglings" [1]. Both of these were great resources for quickly & easily learning the basics of their respective languages.
- How to get started with ziglang?
-
My views on Ziglang
Ziglings
-
Failing to Learn Zig via Advent of Code
As someone recently started learning zig. I recommend checking out ziglings. It helped me a ton getting started on the language, and I frequently revisit it for examples and docs.
-
A Review of the Zig Programming Language (Using Advent of Code 2021)
It's unfortunately the only comprehensive reference I know of besides the official docs.
There is "Ziglings", but those are a collection of small exercises with answers rather than a full guide.
https://github.com/ratfactor/ziglings
If you know of better resources than these two, please do share (not being passive aggressive here).
-
To Learn a New Language, Read Its Standard Library
Ziglings [0] is a series of small problems where you solve bugs in Zig code, and I enjoyed working through them. The readme claims "you are not expected to have any prior experience with... C." When I did ziglings I found the most difficult part was adjusting to the type syntax (which I now love).
I admittedly know C very well, but assuming you already know a language with a C-like syntax (C++, Java, JavaScript, C#, Rust, etc.) most things like functions, control flow, variables, statements map to Zig with only small syntactic differences.
One thing that may be difficult to learn not knowing C is working with strings, since they are just arrays of bytes. Most other languages have a string type, but Zig is much more like C in that strings are null-terminated fixed-sized arrays of bytes.
-
Would zig be a good fit for me?
You want Ziglings: https://github.com/ratfactor/ziglings
What are some alternatives?
rust-koans - Koans for the Rust programming language
rust-by-example - Learn Rust with examples (Live code editor included)
awesome-zig
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
book - The Rust Programming Language
rust-learning - A bunch of links to blog posts, articles, videos, etc for learning Rust
rust.vim - Vim configuration for Rust.
Rust-Full-Stack - Rust projects here are easy to use. There are blog posts for them also.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
too-many-lists - Learn Rust by writing Entirely Too Many linked lists
rust-analyzer - A Rust compiler front-end for IDEs