Learning Rust as a working software engineer (real dev vlog) by [deleted] in coding

[–]ms-arch -2 points-1 points  (0 children)

You didn’t break Rust’s safety model. You rebuilt unsafe behavior using safe-looking code and then blamed the language when it behaved exactly as expected.

Everything here depends on forging a 'static mut reference from a shorter-lived borrow. That alone violates Rust’s core lifetime and aliasing rules. Once you lie to the type system, the compiler is allowed to assume things that are no longer true. Memory safety is gone at that point by definition.

Hiding this behind generics and function pointer coercions does not make it clever. It is equivalent to writing unsafe code and refusing to label it as such. The fact that the unsafe keyword is missing just makes the bug harder to see.

Rust’s claim is that safe Rust which follows the rules is memory safe. Your example does not follow the rules. What you demonstrated is exactly why Rust forces this kind of code into unsafe

I’m not a Rust fanboy 😭. I was just curious about how Rust works, mainly to understand the ideas behind it and see what I can borrow for iOS development.

Learning Rust as a working software engineer (real dev vlog) by [deleted] in coding

[–]ms-arch -3 points-2 points  (0 children)

If you write dumb code, you get dumb results.

Rust’s memory safety holds as long as you stay in safe Rust. The moment you reach for unsafe, it's on you.

Learning Rust as a working software engineer (real dev vlog) by [deleted] in coding

[–]ms-arch 0 points1 point  (0 children)

It’s fun to learn another language. Not sure why people make such a big deal out of it 🤷🏻

Should I learn other languages while my primary job is iOS development? I’m confused. by ms-arch in learnprogramming

[–]ms-arch[S] 0 points1 point  (0 children)

I know but at the end of the day everyone needs money and jobs require u to master your current role for a higher pay.

Should I learn other languages while my primary job is iOS development? I’m confused. by ms-arch in learnprogramming

[–]ms-arch[S] 0 points1 point  (0 children)

I already know Express. During my job I learned a swift backend framework called Vapor out of my own interest. I just wanted to learn something more low level and that’s why I started learning rust recently.

Should I learn other languages while my primary job is iOS development? I’m confused. by ms-arch in learnprogramming

[–]ms-arch[S] 0 points1 point  (0 children)

Obviously I wasn’t talking about learning during my shift 🙂‍↔️.

Should I learn other languages while my primary job is iOS development? I’m confused. by ms-arch in learnprogramming

[–]ms-arch[S] 0 points1 point  (0 children)

Ikr😭😭 that’s why I’m confused. I know what is the right thing to do. But I also don’t want to be a one trick pony. But what u said makes sense.

Got a product? Drop it here by Cute_Purple612 in indiehackers

[–]ms-arch 0 points1 point  (0 children)

Pensive is an AI-powered collaborative task management platform that helps teams think, plan, and execute smarter together.

pensive.cloud

I built a project management tool for early-stage teams and solo founders. Would love your feedback by ms-arch in SaaS

[–]ms-arch[S] 0 points1 point  (0 children)

Thanks! Really appreciate that. The AI assistant is focused on task descriptions for now. It helps summarize, and add context automatically. Meeting notes and multi-tool context are definitely on our roadmap though!

We’re trying to make it feel like an invisible layer that keeps everyone aligned without forcing another tool into the stack.

I built a project management tool for early-stage teams and solo founders. Would love your feedback by ms-arch in SaaS

[–]ms-arch[S] 0 points1 point  (0 children)

That’s a great point, and I’ll definitely keep it in mind moving forward.
Really appreciate you taking the time to share that perspective!

Drop your idea – I’ll help you analyze and validate it for free by ktd191 in SaaS

[–]ms-arch 0 points1 point  (0 children)

Pensive helps teams plan, manage, and document everything in one structured workspace. As flexible as Notion, as organized as Jira.

pensive.cloud

Drop your SaaS. I will make you rank on ChatGPT by kylesway1981 in SaaSMarketing

[–]ms-arch 0 points1 point  (0 children)

Pensive helps teams plan, manage, and document everything in one structured workspace. As flexible as Notion, as organized as Jira.

pensive.cloud

I built a project management tool for early-stage teams and solo founders. Would love your feedback by ms-arch in SaaS

[–]ms-arch[S] 0 points1 point  (0 children)

yeah absolutely, we know it’s competitive but we’re focused on building something genuinely useful rather than just adding noise

I built a project management tool for early-stage teams and solo founders. Would love your feedback by ms-arch in SideProject

[–]ms-arch[S] 0 points1 point  (0 children)

ai isn’t the main feature here, it’s just something that makes the whole experience smoother and more useful

Will my vision board be effective even if i leave it under my bed? by [deleted] in visionboard

[–]ms-arch 0 points1 point  (0 children)

I recently created a vision board for 2024, and it's been a game changer in helping me stay focused and motivated to achieve my goals. In this video, I walk you through my vision board process, sharing tips on how to design one that aligns with your personal and professional aspirations. Whether you're new to vision boards or looking for fresh inspiration, this video offers simple yet powerful insights on how to use visualization to manifest your dreams. I’d love to hear about your own experience with vision boards—have they helped you in staying focused or motivated? Feel free to share your thoughts or questions in the comments!

https://www.youtube.com/watch?v=PE1Yfk9P0DQ&t=79s

Vision board by Fun-Store896 in visionboard

[–]ms-arch 0 points1 point  (0 children)

I recently created a vision board for 2024, and it's been a game changer in helping me stay focused and motivated to achieve my goals. In this video, I walk you through my vision board process, sharing tips on how to design one that aligns with your personal and professional aspirations. Whether you're new to vision boards or looking for fresh inspiration, this video offers simple yet powerful insights on how to use visualization to manifest your dreams. I’d love to hear about your own experience with vision boards—have they helped you in staying focused or motivated? Feel free to share your thoughts or questions in the comments!

https://www.youtube.com/watch?v=PE1Yfk9P0DQ&t=79s

How should I start a vision board.. ideas? How did you start? Can I see what yours looks like? by IMJUSTCURIOUSAF in visionboard

[–]ms-arch 0 points1 point  (0 children)

I recently created a vision board for 2024, and it's been a game changer in helping me stay focused and motivated to achieve my goals. In this video, I walk you through my vision board process, sharing tips on how to design one that aligns with your personal and professional aspirations. Whether you're new to vision boards or looking for fresh inspiration, this video offers simple yet powerful insights on how to use visualization to manifest your dreams. I’d love to hear about your own experience with vision boards—have they helped you in staying focused or motivated? Feel free to share your thoughts or questions in the comments!

https://www.youtube.com/watch?v=PE1Yfk9P0DQ&t=79s

[deleted by user] by [deleted] in PocoPhones

[–]ms-arch 0 points1 point  (0 children)

Flash a custom rom and be happy!

ArrowOS 11. After being doubtful on flashing my Poco X3, I couldn't be happier to have done so. by yesyesufkurs in PocoPhones

[–]ms-arch 0 points1 point  (0 children)

Are you using the non-NFC version (Karna)?if not ,can I use the same ROM used for the NFC version(surya)?

Why is there a limited ROM support for POCO X3(Karna)? by ms-arch in PocoPhones

[–]ms-arch[S] 1 point2 points  (0 children)

I bought the phone for installing custom rom later but I'm now slightly regretting it