Hey all! Read a lot of good things about Rust and I was getting pretty bored and often annoyed with building new FastAPI apps. I’m just getting started, from my research Poem seems to be doing the same thing as FastAPI kinda and I’m using SeaORM for the DB.

So far I’m loving it, Cargo.toml looks a lot like Poetry in Python but in VSCode it magically shows me the latest versions of all dependencies. Debugging is really nice because I can just copy & paste compiler messages into an LLM or Google them. It was a bit of a hassle to get all dependencies to work together and to get the thing to compile at first but now it works and I’m happy.

That being said is there anything else I need to know? I still have a very limited understanding of the whole ownership thing but e.g. I understand the benefits of passing variables instead of copying them so I guess that’s a start?

  • Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    5 days ago

    Uhm, yeah, that’s interesting. Programming.dev is a Lemmy instance, which is basically federated Reddit, so this could be any sort of user-submitted image.

    Unfortunately, the screenshot you posted doesn’t make it to this side of the federation, so I’ll embed it for people here:

    • Jeff Forcier@social.coop
      link
      fedilink
      arrow-up
      1
      ·
      5 days ago

      @Ephera ah, the fediverse, what can’t it make slightly broken? 🤣

      Re: programming dot dev, that makes more sense - I didn’t look around much but as a reddit-a-like it surely has links to “nearby” content hanging out around the main body of the page, and whatever logic in Mastodon (or my client?) that seeks an image to embed must’ve reached a bit far.