• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: November 2nd, 2023

help-circle
  • I didn’t say they were bad. I was pointing out that:

    1. Blaming a user for not hitting the same results on search engines is a flawed argument; my search did not present the book that was linked in the original comment, even while using the title of the book as the search phrase. It instead was a mix of forums, social media, and YouTube tutorials, all of which do not have the same depth as a good book.
    2. The material presented in some of the “Rust for C++ programmers” videos and posts focused more on direct translation of syntax. This is good “first step” material to make the user more comfortable, but again they didn’t cover the common pitfalls that a C++ developer will encounter when they’re still approaching Rust with a C++ mindset.

    That said, the guide you’ve shared was in fact on the first page of my results, and is definitely a good example of the type of content that is available. What I think should take place is a compilation of similar guides and books to be posted either in the Rust forums as a pin or a YouTube playlist in the official channel, perhaps even with a small list of suggested crates to review the source code of as pristine examples.


  • There are lots of guides, tutorials and documentation.

    is one I found using a tool called search engine…

    Strange. That’s not what I get when I search for “Rust for C++ programmers”. I get flooded with anecdotal accounts/posts from people on Reddit and YouTube talking about their love or hate towards Rust.

    Then there’s 3 hour-or-longer videos about Rust which target C++ devs directly. Two are from 2022 and 2019 with one from 2023. Only the 2022 video starts from basics with features that a C++ dev would actually need to understand, like ownership, borrowing, and references. One jumps right into multithreading ideas by discussing mutex. The other jumps into how everything is made “easier” because the compile does borrow-checking instead of having the developer manage it.

    These videos probably aren’t bad, but they don’t touch on the larger “gotchas” that C++ maintainers will be scratching their head at, like explicit lifetimes, inevitable headaches with error handling, and reference/target mutability. Some of them are a good start, but they mostly focus on just technical features. It’s difficult to find a resource that helps you learn how to plan out your project early on so you’re not refactoring later due to the topics mentioned earlier.

    And to be honest, if you are unable to use them to learn rust, maybe your c++ skills isn’t that impressive either.

    And this is why 6% of non-Rust users have cited the community as a barrier of entry. Immediate pettiness and hostility rather than trying to get the best resources into the hands of newcomers.





  • I was talking to a Tesla owner about this and they argued that if the window is electric then there’s no difference making the door electric. They couldn’t understand that the door itself can be operated independently of the rest of the vehicle.

    Making windows electric causes a safety tradeoff. You get ease of operation while losing the ability to open the window in the event of an accident (where power cannot be supplied). However you can still unlock and open the door manually as an alternative escape option. This also applies in non-accident scenarios (dead battery).

    Making doors electric is nothing more than a safety risk. From the inside you might have access to a manual release latch, but some doors require you to unscrew things first. Any emergency situation where you need to exit as soon as possible and the power is lost almost guarantees that you’ll be unable to safely escape.



  • Oh 100% that’s what they meant. It’s just something that caught my attention as it almost appears to be an oxymoron.

    In practice, “microtransaction” can mean many things. A small price, a purchase of non-unique content, or even a small quantity of unique (non-base) content. So yes, upgrading to the “deluxe” edition can fall under that description. But calling the “deluxe” content upgrade a “micro-transaction” almost appears contradictory. So I had a little chuckle while pondering this before becoming upset at how broad (and expensive) said “micro”transactions have become.