Remix.run Logo
hangonhn 2 days ago

Flash was a poorly written piece of software. It had numerous bad memory leaks and a CPU hog. It was never allowed on the iPhone probably because it would have drained the batteries really quickly. On top of that HTML5 was starting to catch on and could eventually do everything Flash could and do it better without the memory leaks and poor CPU usage. I have the very unfortunate claim to the title of being an engineer on the world's biggest Flash/Flex app. The memory leaks were so bad that Adobe advised us to just restart the app periodically -- despite Adobe marketing Flex as enterprise ready. We found compiler bugs for Adobe. Adobe and Jobs didn't set out to destroy it. Macromedia wrote bad code that performed poorly and it wasn't worth the effort for Adobe fix it once HTML5 won.

anymouse123456 a day ago | parent | next [-]

The core ideas of Flash remain unparalleled even now.

- Vector drawing and rendering for extremely fast performance and file size

- Visual authoring tool that invited creative, non-technical people to the party

- Deep support for managing state changes over time

- Gradual ramp of complexity that balanced ease of entry without overly constraining expertise

Were most Flash apps slow and buggy? Yes

Did Flex have tons of bloat and memory leaks? Yes

Did Flash create a cambrian explosion of creative and fun projects that inspired a generation of young people? Yes

cess11 2 days ago | parent | prev | next [-]

None of that matters for the kind of creative work the grand parent likely had in mind.

Perhaps there was a memory leak in Unidentified Flying Assholes or the endless line of punch-a-celeb games or the thousands of stick fight productions and so on, but no one cared and enjoyed them immensely anyway. You could do something cool without ever learning about things like memory leaks or vulnerabilities in the underlying platform.

wolrah 2 days ago | parent | next [-]

> None of that matters for the kind of creative work the grand parent likely had in mind.

Some of that did, at least for how that creative work was almost exclusively delivered to the world. Those bugs were not just excessive resource usage and instability, they were incredibly often exploitable security flaws that were regularly weaponized against a huge swath of internet users. The ubiquity of the Flash browser plugin was simultaneously one of the greatest strengths of Flash as a creative platform and one of the greatest risks to the average person browsing the web in the 2000s.

The plugin needed to die. Unfortunately the Flash community was so firmly built around the web plugin as their distribution method of choice (presumably because many of us were browsing animations and playing games at work/school where we couldn't necessarily download and run arbitrary .exes) that the plugin was more or less a diseased conjoined twin, and when it died the community didn't have long left.

Compare this to Java where the death of the browser plugin caused a number of badly designed banking sites to have to be redesigned in a less stupid (but quite often still very stupid) way but the community as a whole continued on without huge disruption. The browser plugin was just one of many places Java existed, it wasn't the dominant focus of the community.

Wojtkie 2 days ago | parent | next [-]

Yeah, it's kinda crazy people are brushing over the security issues. The nostalgia is huge, I get it, but Flash was terrible for browsing the internet at the time.

cess11 a day ago | parent | prev [-]

Can you name some renowned such creative works that were "weaponized against a huge swath of internet users"?

tonyarkles 21 hours ago | parent [-]

I think they’re referring to the flash plugin itself. It enabled a vast amount of creative work and it enabled vast exploitation of users’ browsers. I worked as a tech at a consumer-focused computer store from about 1999-2005. It was a wild wild world back then. The vast majority of our time was spent removing viruses, browser toolbars, Bonzi Buddy and friends, and helping people understand how their online banking passwords got stolen by the shady porn site they like so much.

2 days ago | parent | prev [-]
[deleted]
Marazan 2 days ago | parent | prev [-]

It was not a CPU hog - this is a myth that needs to die The flash runtime was pretty modest.

Now, the code people wrote was CPU hogs, because lots of non coders were writing code and they would do anything to make it work. The Flash runtime was not causing the Punch the Monkey and to peg your CPU, it was because the punch the monkey ad was fucking awful code.

All those Flash programmer went on to write the first wave of HTML5 stuff which, shock horror, where vastly CPU inefficient.