> Imagine if apps for mobile could be deployed via swf. We'd have billions of apps, and you could just tap to download them from the web.
No they wouldn't. We've forgotten just how bad and sloppy flash apps were. The handful of companies that used Adobe Flex turned out awful POS that barely worked. It occupied the same space that Electron does today -- bloated, slow, and permitting cheap-ass devs to utilize cheap talent to develop 'apps' with all the finesse of a sledgehammer
As a kid I loved flash, I was making interactive apps in AS2/3 in high school. But I watched in horror as it became the de facto platform for crapware
As a side note, Apache Royale is still alive (or is it?).
> It occupied the same space that Electron does today
This. Except Electron crap at least runs on top of a well-designed and relatively reliable platform (HTML/Chromium) - and sometimes the crap even offer an actual PWA version with all the sandbox benefits a real browser has to offer. Flash didn't even had that.
And let's be realistic, there will always be demand for a crap-running platform for vendors that don't care (or just have their core values elsewhere).