• 0 Posts
  • 25 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
    2 months 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.







  • themoken@startrek.websitetolinuxmemes@lemmy.worldsomeone tell them
    link
    fedilink
    arrow-up
    42
    arrow-down
    2
    ·
    7 months ago

    Honestly, with Flatpak and immutable base systems this is a place Linux is really excelling now too. Being able to show a novice user a shared package manager with a search and a bunch of common apps and them actually install/remove them in a safe manner with a high likelihood they’ll work out of the box (since they come with all their deps in sync independent from distro) is kinda huge.


  • For kernel dev it would be a disaster, there’s too much implicit action, and abstractions that have unknown runtime cost. The classic answer is that everyone uses 10% of its features over C, but nobody can agree on which 10%.

    As someone forced to get up to date with C++ recently, at this point it’s a language in full identity crisis. It wants so badly to be Rust, but it’s got decades of baggage it’s dragging along.


  • In a world where Valve controls 90% of what is running on a device with immutable / containerized images, yeah I think Arch makes a lot more sense. A distro focused on rolling release is a lot less likely to hang you up when you choose to update.

    Debian is great, but depending on where you are in the release cycle it can be a pain in the ass to stay up to date and, frankly, the last time I ran it, shit like apt/dpkg configuration and so many /etc files and structures just felt like mis-features or too complex for their own good.