• 0 Posts
  • 42 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.










  • Surprised to see the opinions on V/VI not being as good. I’ve played every interation of this game and they all brought something to the table. VI and the districting gameplay added a lot to the game. One unit per tile in V also made combat more tactical than doom stacking around.

    The big thing I’d like in a new one is less cheaty AI. It’s just so boring that winning on Deity is basically exploiting AI foibles instead of… you know, building a stronger nation on an even keel. At the highest difficulty AI should get no bonuses but still be really good at playing the game.





  • 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.