• 3 Posts
  • 131 Comments
Joined 1 year ago
cake
Cake day: September 1st, 2023

help-circle




  • In Cogenitor, Starfleet wouldn’t get very far if it had to roll up to every first contact demanding a species conform to human morality. It has to take a neutral position or first contact becomes an ultimatum. That doesn’t mean Starfleet is pro-slavery, it just means it recognizes that it’s not in a position to force that change on a species it met five seconds ago. Now if the species was trying to join the Federation (down the line) obviously that’s a different story…

    The Orion episode too… Uh, weren’t the “slaves” actually just pirates? Can we trust anything said when it was just a setup to steal the ship? Not to mention that just because a character says something doesn’t make it true or reflect the morality of the show/writers. Maybe that Orion is just an idiot or rationalizing his shitty behavior…





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