• 0 Posts
  • 105 Comments
Joined 1 year ago
cake
Cake day: September 1st, 2023

help-circle







  • So you’re right that this is a bit arbitrary because the line between the standard lib and the language is blurry, but someone writing Rust is going to expect Vec to work, it doesn’t even require an extra “use” to get it.

    Perhaps a better core example would be operator overloading (or really any place using traits). When looking at “a + b” in Rust you have to be aware that, depending on the types involved, that could mean anything.

    Anyway, I love Rust, it just doesn’t have the 1:1 relationship with the assembly output that C basically still has.



  • themoken@startrek.websitetoProgrammer Humor@programming.devLanguages
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    edit-2
    1 month ago

    Rust can create native binaries but I wouldn’t call it close to the metal like C. It’s certainly possible to bootstrap from assembly to Rust but, unlike C, every operation doesn’t have a direct analog to an assembly operation. For example Rust needs to be able to dynamically allocate memory for all of its syntax to be intact.


  • Just hold your ground and keep reading your book, eating alone etc. If someone enters personal territory, shut it down by being honest “I don’t want to talk about that” and move on. Resist peer pressure and be who you are, it’s the same as it was in school.

    Also, talk to your coworkers (I know it’s hard) about whether they think it’s appropriate. You have an impression they’re on board with this level of “intimacy” but it’s possible they are just going along to get along.

    If persisting doesn’t work then it’s probably time to find another job. Plenty of workplaces out there that just want you to do your job and no more.

    HR is definitely not on your side either, unless you can point to specific violations of policy. They exist specifically to cover their own ass, not to actually make your life better.