Mo :ferris: :tux: · @mo8it
484 followers · 1668 posts · Server fosstodon.org

Yesterday, I submitted a PR to port to Clap:

github.com/rust-lang/rustlings

But @manpacket asked me to try bpaf, so here is the second PR that ports to bpaf:

github.com/rust-lang/rustlings

Which one do you like more? πŸ€”

Vote here and with a πŸ‘ reaction on one of the PRs.

#rustlings

Last updated 1 year ago

Mo :ferris: :tux: · @mo8it
483 followers · 1654 posts · Server fosstodon.org
Cheuk Ting Ho · @cheukting_ho
554 followers · 530 posts · Server fosstodon.org

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

#rustlings

Last updated 1 year ago

Jeff Forcier · @bitprophet
643 followers · 6481 posts · Server social.coop

: 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 THAN PYTHON: πŸ˜­πŸ€·πŸ»β€β™‚οΈπŸ˜΅β€πŸ’«

#rustlings

Last updated 1 year ago

Jeff Forcier · @bitprophet
642 followers · 6472 posts · Server social.coop

...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!

#rustlings #rust

Last updated 1 year ago

Jeff Forcier · @bitprophet
637 followers · 6449 posts · Server social.coop

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.

#rust #rustlings

Last updated 1 year ago

Jeff Forcier · @bitprophet
603 followers · 5419 posts · Server social.coop

Still working through but getting nearish the end (tests! which force the /#Rustlang 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" πŸ˜‚).

#rustlings #rust

Last updated 1 year ago

Andy Scott · @ascott
324 followers · 96 posts · Server fosstodon.org

Went through about 1/3 of today, so far so good. Loops are neat. Error handling is very different from what I'm used to, although potentially really cool if I can grok it.

If you're curious about zig and familiar with (or at least have a little programming experience) it might be worth checking out. github.com/ratfactor/ziglings

#ziglings #rustlings

Last updated 1 year ago

Shanti Anima D'Vita · @kensp
175 followers · 2284 posts · Server linuxrocks.online

Finished .

Feel like some of the exercises didn't have enough context to complete it, but the docs are great. No one's posted all the solutions to the latest set of exercises either, so I put mine up if anyone else wants to go through them. github.com/kentarospin98/rustl

I feel like I much better understand the language now, but there's so many things, like Arc Mutexes, the Trait system, Macros, Iterators that will just take a ton of practice to get comfortable with, and more importantly, learn design patterns to be quick to solve problems with.

Going to try out a quick little project over this weekend to see how far I can go. I've been parsing the AST for a work project, and I thought that was wild, where as in Rust, you just have access to the tokens to build macros in the language itself.

#python #rust #rustlings

Last updated 1 year ago

Sisuaika · @sisuaika
9 followers · 37 posts · Server social.vivaldi.net

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.

#linux #chromebook #rust #rustlings

Last updated 1 year ago

Sisuaika · @sisuaika
9 followers · 35 posts · Server social.vivaldi.net

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!

#rust #rustlang #rustlings #rustbyexample #python #julialang

Last updated 1 year ago

As a still practicing academic, I don’t quite know how to formulate my tech interests just yet β€” so here’s a disorganized hashtag list of such things I tend to like thinking or learning about:

#csv #linux #archlinux #bsd #datalog #dlv #naturallanguageprocessing #functionalprogramming #rustlang #rustlings #python #javascript #portability #unicode #lexicography #obsidian #postgresql #gis

Last updated 1 year ago

Dani Sancas :python: :ferris: · @sancas
71 followers · 457 posts · Server fosstodon.org

Hi there, Fosstodon!

I'm a bit disappeared, I know... Yesterday I retook my journey. That journey that I abandoned during the Advent of Code due to the increasing complexity of the problems, and the shrinking available time and energy.

Yesterday I took on exercises, and I've completed half of them by now.

github.com/rust-lang/rustlings

And I came up to an expression that didn't understand back in the day: the `if let` expression.

(more info below πŸ‘‡ )

#rustlang #rustlings

Last updated 1 year ago

Mark · @mpcnat
140 followers · 519 posts · Server bne.social

@EndlessMason Give a go after/before reading the Rust book, if you are already a language maven. Also the vids from @noboilerplate are great to tie concepts down, they do short sharp vids that don’t require setting aside dedicated YouTube time. I’m not a fan of video tutes, but these are perfect bites of content.

#rustlings

Last updated 1 year ago

I'm a simple man. My best friend sitting next to me, and , can you think of a better Tuesday morning?

Side note, is really ergonomic on an iPad with termius.

I just need to get my nvim setup working with , and I'll be able to work from the couch today. If anyone has any tips getting a decent debugging experience working in nvim with Dotnet, let me know! has me spoiled.

#rust #rustlings #neovim #dotnet #rider

Last updated 1 year ago

Chris Gioran · @chrisg
169 followers · 760 posts · Server fosstodon.org

Are you looking for a project to work on, so you can exercise your knowledge?

Do you want to get out of your comfort zone just a little, so the course pays off?

I have a thing for you - Rusted, the world's worst text editor. Start here:

youtu.be/Ed2JyIPId60

It's command based, so you can expand it as you like and make it as complicated as you want.

Or you can just follow along.

I will release the sources with the next video, in two weeks.

#rust #rustlings

Last updated 1 year ago

Mondanzo · @mondanzo
131 followers · 188 posts · Server mastodon.uwuwatch.club

I don't think the course is doing it for me. Sure I manage to get through it but I don't feel any more educated about rust than I was before... The order it teaches in isn't helping in my case either.

#rustlings

Last updated 1 year ago

mi piace un sacco!!!

Mi sembra un ottimo modo per fare pratica. Davvero ben fatto.

github.com/rust-lang/rustlings

#rustlings #rust #dev #coding

Last updated 1 year ago

Alice :vUwUfied: Spring Dergy · @werefox
482 followers · 10065 posts · Server yiff.life

I did the it! :alicehappy:β€‹πŸ–€ β˜€οΈ

#rust #rustlings

Last updated 1 year ago

Alice :vUwUfied: Spring Dergy · @werefox
482 followers · 10065 posts · Server yiff.life

I did the it! :alicehappy:β€‹πŸ–€ β˜€οΈ

#rust #rustlings

Last updated 1 year ago