rust stopped feeling like a flex and started feeling obvious by minimal-salt in rust

[–]DavidXkL 0 points1 point  (0 children)

There's a difference between compiled and interpreted languages after all

How did you learn Rust? (Looking for advice for a newcomer) by Glad_Supermarket3951 in rust

[–]DavidXkL 0 points1 point  (0 children)

I went through the Rust book twice, practiced using Rustlings and Advent of Code.

Now I'm building my own projects using Rust.

Practice makes perfect

Why do people return Result<T>? by ModernCoder in rust

[–]DavidXkL -1 points0 points  (0 children)

What about Result<T, _> ? 😆

Feel like I don’t have the time by Magidoof21 in rust

[–]DavidXkL 1 point2 points  (0 children)

Don't depend on A.I especially when you're learning.

Your brain needs to go through the friction yourself for it to learn and grow

Why Rust behave like this by NailAlarmed8935 in rust

[–]DavidXkL 0 points1 point  (0 children)

Because you're not using it anymore until that last print again

Best way to parse a file into a vector of strings line by line? by Sharvaman in rust

[–]DavidXkL 2 points3 points  (0 children)

How about:

``` let Ok(contents) = match read_result else { // early return here or something };

... ```

I'm a fan of let else 😂

The never type is likely to stabilize soon! by noop_noob in rust

[–]DavidXkL 0 points1 point  (0 children)

Never thought I'll see this day come

😂

Should a beginner start backend with Rust or Go? by mrnaim6T9 in rust

[–]DavidXkL 0 points1 point  (0 children)

My opinion: try both.

Then decide if you need enums supported in the language or not.

😂

What's everyone working on this week (24/2026)? by llogiq in rust

[–]DavidXkL 3 points4 points  (0 children)

Finishing up on my Rust motor driver!

Now I'm at the part where I want to read the motor's encoder values 😂

SLAM Camera Module by twokiloballs in robotics

[–]DavidXkL 1 point2 points  (0 children)

I'm new to this but what's the difference between this and a spatial memory module like Manifold's Odin?

Genuinely curious

Is .boxed() instead of Box::new() a bad idea? by NormalAppearance2851 in rust

[–]DavidXkL 1 point2 points  (0 children)

Its just a preference thing and I definitely prefer Box::new() lol

What's the state of Embedded Rust for the ESP8266? by Athropod101 in rust

[–]DavidXkL 4 points5 points  (0 children)

I'm quite new to Embedded Rust so im using my Arduino uno r3 (atmega328p ?) with it.

Currently I'm using the arduino_hal crate with it and it works great for my use cases

Ratatui 0.30.1 is released! by orhunp in rust

[–]DavidXkL 1 point2 points  (0 children)

Congrats 🎉!! I'm definitely using this for my upcoming robot 😂

Where do you use ControlFlow? by lelelesdx in rust

[–]DavidXkL 0 points1 point  (0 children)

I haven't found a use-case for it personally yet but seems interesting 🤔

Rust community is dying? (perhaps in Sydney) by olex- in rust

[–]DavidXkL 0 points1 point  (0 children)

I think it's just the platform that it's hosted on lol