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











  • I am about 80% through it as an audiobook (waiting for it to come back from the library) and I agree. Great to listen to him, tons of non Trek info I didn’t know that is still quite interesting.

    Not the best husband to be sure, but I do like that he’s pretty up front about it. Seems like his first marriage was effectively over as soon as he found American success and his wife (understandably) didn’t want to abandon her own career in the UK. Hard to listen to Capt. Picard be unfaithful (with Vash no less!) but I felt for him more than most egomaniac rock stars who fuck anything that moves.

    EDIT: Also loved how he hates Thatcher for demolishing all of the programs he used to get trained as an actor coming from a poor background. There was a lot of mutual aid in his early life that seems non-existent today.