mo8it, to rust
@mo8it@fosstodon.org avatar

#Rustlings v6 beta is here! 🤩🎉

Russtlings is an official Rust project offering a set of interactive exercises to practice #RustLang 🦀

I have been working on the rewrite for about a month 😇
Now I hope to find some people willing to test the beta release and provide some feedback 🥰

You want to test it? 😃 Here are the instructions:
https://github.com/rust-lang/rustlings/tree/v6#getting-started

Issue for feedback ✍️
https://github.com/rust-lang/rustlings/issues/1960

A tiny demo of Rustlings v6 (beta) in Zellij

mo8it, to rust
@mo8it@fosstodon.org avatar

My proposal to add support for third-party exercises to 🦀

https://rust-lang.zulipchat.com/#narrow/stream/334454-rustlings/topic/Proposal.3A.20Third-party.20exercises/near/432782898

Feedback is welcome, especially if you think about providing third-party exercises for your crate(s) 😇

mo8it, to rust
@mo8it@fosstodon.org avatar

I made an interactive list for with 🐭🤩

Features:
↕️ Navigate through your progress
✅ Filter done/pending exercises
⏭️ Skip to / continue at some exercise
🔃 Reset an exercise to start over

I am very excited about version 6 (coming soon) 😁

video/mp4

mo8it, to random
@mo8it@fosstodon.org avatar

Cleaning up an issue tracker is so satisfying!

I closed 51 issues in the last 3 days 😅

Most of them where outdated or already resolved. Some of them where out of scope. Some will be resolved by the planned v6 😃

mo8it, to rust
@mo8it@fosstodon.org avatar

I am very excited to announce that I am now one of the maintainers of 🦀

Thanks to the maintainer Liv (shadows-withal) for trusting me 🥰

I have two big ideas ✨

  1. Easier installation with Cargo
    https://github.com/rust-lang/rustlings/issues/1919

  2. Making Rustlings a TUI using Ratatui
    https://github.com/rust-lang/rustlings/issues/1920

You are welcome to give feedback on these ideas 😃 (But they are not planned until Liv approves them)

If you have any other ideas for improving Rustlings, I am waiting for your repo issue 🤗

mo8it, to rust
@mo8it@fosstodon.org avatar

Today was the first day of my Rust course at my university 😃

It is a combination of and 🦀

I already gave this course once. But this time, I am recording it and will publish it on YouTube (and other platforms that you suggest) 📹️

Thanks to @thomy2000 for the suggestion to record it 🤗

flq, to rust
@flq@freiburg.social avatar

@khalidabuhakmeh I'm trying to have some fun with RustRover but it's hitting an error. Then I wanted to play with and it's hitting the same error:

ld: library 'System' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Have you ever seen this? Writing you up since you've been approaching also as a beginner, so maybe you came across...it seems like something very basic is missing, but I followed the steps, honest 😭

mo8it, to rust
@mo8it@fosstodon.org avatar

Free Course in Mainz, Germany :ferris:

I am happy to announce that I will give my Rust course again 😍

📍 Where: In person at the university of Mainz
📆 When: 11.03. - 15.03.2024 from 10 until 17 o'clock
📚️ Content: My modified version of and : https://comprehensive-rust.mo8it.com
🏃 More info and free registration: https://fachschaft.physik.uni-mainz.de/rust (scroll down for the English version)
🗣️ Language: English unless all speak German

the9thdude, to programming
@the9thdude@mstdn.social avatar

#programming question: how do y'all find and determine what libraries and functions to use? As I'm going through #rustlings I keep coming across challenges that require me to use functions/methods that I didn't even know existed for a particular class or primitive, yet someone else figured it out. So what am I missing that everyone else knows?

#rustlang #rust #learning

chirpbirb, to rust
@chirpbirb@meow.social avatar

the compiler just guided me through one of the exercises. is that legal? is that allowed?

cheukting_ho, to random
@cheukting_ho@fosstodon.org avatar

I finished all the exercises yesterday! All the life stream is on my YouTube channel: https://m.youtube.com/@cheuktingho

bitprophet, to random
@bitprophet@social.coop avatar

: alright. you got this! 94/95! your final task: to wrap your head around the AsRef and AsMut traits!

MY BRAIN, WHICH PRACTICALLY SPEAKING HAS NEVER WRAPPED ITSELF AROUND ANYTHING LOWER-LEVEL OR MORE COMPLEX THAN PYTHON: 😭🤷🏻‍♂️😵‍💫

(This isn't really asking for help, just whining. lol)

bitprophet, to random
@bitprophet@social.coop avatar

...huh. I guess 's cargo does things "OS package manager style" and downloads a bunch of repository metadata locally? (instead of what I'm used to in lang package managers, hitting an API.)

Near the end of so I need clippy, and this is taking a few minutes:

[nix-shell:~/Code/others/rustlings]$ cargo install clippy
Updating crates.io index
Fetch [=================> ] 74.29%, (117872/182006) resolving deltas

Not a complaint per se, was just surprised!

kirsten, to rust

Nachdem das erste Drittel der -Aufgaben sehr schnell abgeschlossen war, haben sich gerade die letzten Aufgaben doch sehr gezogen.
Zu den Themen Threads, SmartPointers, Lifetimes und Conversions muss ich noch einiges Lernen, damit ich es gut anwenden kann.
Wie würdet ihr die Themen vertiefen? Doku lesen? Eigenes Beispielprojekt beginnen? Ein bestehendes Projekt verstehen und anpassen? Habt ihr einen Tipp für mich?
🔁 (​:boostok:​ Wie in Mastodon scheint es hier nicht zu geben. Was wählt man stattdessen?)

sisuaika, to linux

Spent all afternoon trying to get installed on my old 2015 so I'd have something to practice and on while I travel next week.

Unfortunately, my chromebook went end-of-life before the linux mode was added. When I finally got it running via crouton on a dated version of Ubuntu (that I can't upgrade without breaking) I realized that....

... the battery was non-functional.

A monkey throws a computer off their desk in frustration.

sisuaika, to rust

Wow! I'm absolutely in love with the learning environment of / and and . What an incredible combo.

I wish I had a similar environment to learn or in.

For those who are unfamiliar, Rustlings is an interactive learn-by-fixing program you run in your terminal. It correlates directly with Rust's official guide (The Book). They even link together and to the docs. So cool!

bitprophet, to random
@bitprophet@social.coop avatar

trying to get my quite old Clojure-based personal browser-search backend project working via:

  • nix
  • …flakes
  • …and under a contemporary leiningen & clojure version

is, perhaps unsurprisingly, Kinda Hard.

This codebase is almost vanishingly tiny; wondering if I should just acknowledge I'm unlikely to ever use Clojure for anything else, and try porting it to (aka learning) Rust.

You know, for fun!

bitprophet,
@bitprophet@social.coop avatar

Still working through but getting nearish the end (tests! which force the / book to say more about attribute macros, aka "basically decorators?")

Re-reading earlier notes, I really enjoy the idea of the Result/Option pair of enums making the "something, or an error" / "something, or nothing" dualities explicit, and their boilerplate-reducing ? operator (in my head, "the short-circuit operator" 😂).

bitprophet,
@bitprophet@social.coop avatar

Back on my bullshit. A theme the whole time I've been reading bits n snatches of the Rust Book (i.e. mostly when asked to by , but with a medium amount of going off into the weeds) is nice, straightforward explanation of the tradeoffs involved in many of the lang features or specific API members.

Too much tech documentation only goes over the how, and not the why. Love to see it. Makes me wonder what reading this would be like as a totally new coder.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • mdbf
  • magazineikmin
  • Youngstown
  • everett
  • rosin
  • slotface
  • thenastyranch
  • ngwrru68w68
  • PowerRangers
  • kavyap
  • cisconetworking
  • tsrsr
  • DreamBathrooms
  • anitta
  • tacticalgear
  • khanakhh
  • Durango
  • ethstaker
  • vwfavf
  • InstantRegret
  • modclub
  • tester
  • cubers
  • GTA5RPClips
  • osvaldo12
  • normalnudes
  • provamag3
  • All magazines