The issue is that live demos require INSANE amounts of prep.
You have to go over it. Then you go over it again. Then you go over it again with a stopwatch. Then you go over it again. Then you kill the network and go over it again. Then you go over it again with a stopwatch. Then you go over it with a friend with a stopwatch. Then you go over it again. Then you go over it with a friend but you use the stopwatch with no network. Then you go over it again. Repeat until you feel like you're in Groundhog Day. Then go over it one more time.
By the time you give the demo in front of people, you should be so damn bored with giving it that the only reason you want to give the talk is to see the audience reaction.
Having just done a talk at FOSDEM 2024 the main reason not to do a demo is that the slots in most devrooms are really short. In the monitoring devroom talks were in 30 minute slots, which included audio setup, talk, questions. Live demos can really enhance a presentation to developers but trying squeeze them into an already short slot can muddy the message. I would rather point the audience to examples they can run themselves.
On a related point, I find recorded demos pretty horrible. The pleasure in demos is seeing the presenter work fluently with technology and the audience at the same time: "the achieve of, the mastery of the thing!" as Gerard Manley Hopkins memorably phrased it. [0] It's showmanship and existence proof combined--and the most powerful rhetorical device to make technical points. The best ones are legend. [1]
[0] https://www.poetryfoundation.org/poems/44402/the-windhover
> Don’t do it. Really, don’t do it. Anyone that has been giving tech talks for a while now knows not to do it. Don’t do it.
A few years ago, I found myself in San Francisco right on time to see Larry Wall give a talk announcing the release of Perl 6, and showing off some of its (abundant) features.
Larry Wall did the entire presentation in Vim, including live coding.
It's not that no one can pull this off, it's just that most of us aren't them :)