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

    I plan to hold a relatively informal talk about declarative macros in Rust at $DAYJOB and the colleague who organizes that used an LLM to write the invitation flavor text.

    I don’t hate it for that. It does some text formatting with emojis and whatnot, which is decent enough. It does have information about declarative macros, so it can throw in some rough ideas what listeners can expect, like reduced boilerplate.
    What I certainly like less is that it sounds like the most bombastic salesperson, and of course doesn’t know what my talk will actually be about, so it just promises everything.

    Including some straight-up non-sense, like apparently I’ll show folks how to use declarative macros to “improve performance”. That genuinely had us wondering, if that’s possible. I’m guessing, you could theoretically pre-compute a value at compile-time, but them being declarative macros, you’d have to do horrid constructs, like basic addition becomes the equivalent of if a==3 && b==5 then 8. I will most definitely not show that.
    My best guess is that it saw that it’s about Rust, so it just threw in “performance” somewhere. 🫠

    Well, and of course, it repeats itself and writes lots of empty phrases. The text for the invitation is almost as long as my notes for the talk…