Exercises to Learn Rust
101–110 of 129 posts
Re: Exercises to Learn Rust
#102I skimmed through a few sections in which my rust knowledge is basic at best (threads). Really enjoy the no-nonsense, not-a-word-wasted style. My first thought after spending 30 minutes with this that it could easily become my new no. 1 recommendation for rust onboarding, toppling the zero2prod book. Then I figured out why this felt familiar, it's from the same author :D Will definitely dive into it this weekend.
Zero2prod doesn't really teach Rust, it's more about setting up an API for people who already know Rust.
Re: Exercises to Learn Rust
#103Re: Exercises to Learn Rust
#104I skimmed through a few sections in which my rust knowledge is basic at best (threads). Really enjoy the no-nonsense, not-a-word-wasted style. My first thought after spending 30 minutes with this that it could easily become my new no. 1 recommendation for rust onboarding, toppling the zero2prod book. Then I figured out why this felt familiar, it's from the same author :D Will definitely dive into it this weekend.
Zero2prod doesn't really teach Rust, it's more about setting up an API for people who already know Rust.
I still think zero2prod is extremely beginner friendly, you don't need to know rust well to follow it. You can just dive into rust concepts as you read it.
Re: Exercises to Learn Rust
#105Earlier quoted context omitted.
Zero2prod doesn't really teach Rust, it's more about setting up an API for people who already know Rust.
And it also isn't 100% best-practise, more like all-practise. It tries to show any and every way you could approach a problem while somehow keeping it minimal. Really like it but if you follow the tutorial 1:1 you'll most likely get frustrated
I went through it and hated it. It's very tedious and I felt like I learned nothing from following along.
Re: Exercises to Learn Rust
#106Re: Exercises to Learn Rust
#107What do you folks normally do after learning a language like this? (Assuming you don't use it for your day job.)
I implemented this in a webapp, but it's really awkward to have to go through the browser back in the DAW. An executable would be more elegant.
PS1: Some DAWs allow for gamepad input, but it's usually limited, difficult to configure, and buggy (Reaper for example has a bug that was first raised in... 2009 and never fixed).
PS2: I had hoped LLMs would help... but boy do they not! ;-)
Re: Exercises to Learn Rust
#108Earlier quoted context omitted.
> crab-in-a-human-skull cover Anyone know the story behind this?
Author here! To be fair, there is no particular backstory. I picked a hermit crab as the book logo since crabs are strongly associated with Rust due to Ferris, Rust's mascot. I then landed on that style (and the skull) because they looked sick and distinctive. The cover images of many technical books are incredibly dull these days.
Re: Exercises to Learn Rust
#109Worth noting that this set of exercises was created by the author of "Zero to Production in Rust", the well-reviewed book with the crab-in-a-human-skull cover[1]. [1]: https://www.zero2prod.com
Also the same one who is making a new web server framework for Rust called Pavex, which is apparently pretty novel in how it works compared to others like Actix Web and Axum [0][1]. [0] https://www.lpalmieri.com/posts/a-taste-of-pavex-rust-web-fr... [1] https://blog.logrocket.com/using-pavex-rust-web-development/
Re: Exercises to Learn Rust
#110Earlier quoted context omitted.
Office team never was a big .NET fan, and they were partially responsible for Longhorn's failure, see also Hilo C++ tutorial made by the team as part of Vista SDK tutorials, or their love for Webwidgets to C++ code, so that isn't that surprising. It isn't as if C# vlatest wouldn't be able to take up the task, Bing, XBox game servers, and other large scale services are fully on .NET.
But like the Office services, these are all significantly older than Rust. Bing the branding is like 15 years old, the underlying service is older still (as "Live Search") So when this stuff was built the high performance option was C++ and there is an obvious reason to avoid that if you can. Rust means you can have the excellent performance without the absurd foot guns. Whether you chase that depends on other strate…
Just like Rust can take advantage of the LLVM IR features used by clang, so does C# in regards to the MSIL used by C++/CLI.