0x457A65 (@notesbyeze) header
0x457A65 (@notesbyeze) profile picture

Learn Rust quickly (even as beginner), use https://nitter.gq/t.co/UAHy4gxzSt

0x4E696765726961
Joined February 2017
Which will you go for? First off, did you know .windows(size) exists? Link to a detail explanation of `.windows` is in the comment. You'll be able implement your own version after reading this article.
1
1
40
Sometimes a question can be so simple you'll think it's a trick question. Saw this on YT short youtube.com/shorts/cPmknFpOl…
37
Here is a more correct diagram and code illustration showing the pointer and variable has distinct addresses, thanks to @isocroft 🙌 who helped clarified this. But the claim is still remains though.
This quoted post is unavailable.
1
1
4
128
The name of the array in C is a pointer to the first item in the array. I find this behaviour very confusing, what is the purpose?
What does it feel like to learn C after Rust? Locked in🔒
1
1
144
C feels simpler here. Only thing that trips me off is how scanf uses `lf` precisely for a double while printf uses `f` for either double or float. Rust lets you always read a String first and then .trim().parse::<f64>().
What does it feel like to learn C after Rust? Locked in🔒
1
55
Rust forces you to accept string input and then parse it to whatever-type. In C, scanf directly reads formatted input into the expected type. C is simpler on the surface but will require much more extra effort to avoid unexpected runtime error.
What does it feel like to learn C after Rust? Locked in🔒
3
99
One of my very first C code in comparison to Rust. I plan to write a Rust version of every practice problem. Rust doesn't allow implicit type coercion, C does.
What does it feel like to learn C after Rust? Locked in🔒
3
171
Getting better at this animation thing. In case you asked, I made it with Manim, a Python Library for Mathematical animations. As an educator, I find this tool invaluable. It allows me think of concepts beyond how I would normally, if I have to explain it visually.
1
4
197
Arrays Vs Vectors in #Rust
1
28
Check it out here: invoice-oi5k.onrender.com/ How I did it (actually a no-brainer, you'll see): youtube.com/watch?v=zbHJDzsr…
1
2
28
Experimenting with Vibe coding vibe coded an invoice generator for myself. It's pretty neat. It works.
3
1
1
147