Learn Rust by building real-world examples
1–10 of 11 posts
Re: Learn Rust by building real-world examples
#2Re: Learn Rust by building real-world examples
#3I recommend going through Advent of Code. After doing the last two years' challenges, I was able to write a WebAssembly/HTML5 game from scratch, and not banging my head against the wall. It's a lot more important to understand how to build with the fundamental blocks, managing memory, references, and control flows. AoC gives the platform for that.
Re: Learn Rust by building real-world examples
#4I went through some of the articles and the general format there seems to be loosely annotating the finished code examples piece by piece, instead of building it up piece by piece. With Rust, this approach is going to fail you pretty quickly, getting lost in syntax, types, and colloquialisms. Not a fan, might work just to get things working. Synthesis is more challenging. I recommend going through Advent of Code. Aft…
Re: Learn Rust by building real-world examples
#5I went through some of the articles and the general format there seems to be loosely annotating the finished code examples piece by piece, instead of building it up piece by piece. With Rust, this approach is going to fail you pretty quickly, getting lost in syntax, types, and colloquialisms. Not a fan, might work just to get things working. Synthesis is more challenging. I recommend going through Advent of Code. Aft…
AoC feels like leetcode but with weirder UI so the users can feel more like hackers.
Re: Learn Rust by building real-world examples
#6I went through some of the articles and the general format there seems to be loosely annotating the finished code examples piece by piece, instead of building it up piece by piece. With Rust, this approach is going to fail you pretty quickly, getting lost in syntax, types, and colloquialisms. Not a fan, might work just to get things working. Synthesis is more challenging. I recommend going through Advent of Code. Aft…
AoC feels like leetcode but with weirder UI so the users can feel more like hackers.
Re: Learn Rust by building real-world examples
#7I went through some of the articles and the general format there seems to be loosely annotating the finished code examples piece by piece, instead of building it up piece by piece. With Rust, this approach is going to fail you pretty quickly, getting lost in syntax, types, and colloquialisms. Not a fan, might work just to get things working. Synthesis is more challenging. I recommend going through Advent of Code. Aft…
AoC feels like leetcode but with weirder UI so the users can feel more like hackers.
Re: Learn Rust by building real-world examples
#8Earlier quoted context omitted.
AoC feels like leetcode but with weirder UI so the users can feel more like hackers.
Personally I prefer the leetcode UI, but I find that AoC challenges are usually grokkable problems where leetcode seems to require you to have a ton of very bespoke data structure and algorithmic knowledge that simply doesn't have a purpose for me besides doing more leetcode
Re: Learn Rust by building real-world examples
#9Earlier quoted context omitted.
Personally I prefer the leetcode UI, but I find that AoC challenges are usually grokkable problems where leetcode seems to require you to have a ton of very bespoke data structure and algorithmic knowledge that simply doesn't have a purpose for me besides doing more leetcode
Yes, I think this is the major difference. LC are specifically geared to test DS&A knowledge: trees, graphs, DP, BFS, DFS, greedy, etc. AoC are more about iterating fast to solve it however.
Re: Learn Rust by building real-world examples
#10I went through some of the articles and the general format there seems to be loosely annotating the finished code examples piece by piece, instead of building it up piece by piece. With Rust, this approach is going to fail you pretty quickly, getting lost in syntax, types, and colloquialisms. Not a fan, might work just to get things working. Synthesis is more challenging. I recommend going through Advent of Code. Aft…
[0]:https://pikuma.com/courses/learn-3d-computer-graphics-progra... Do recommend