| ▲ | kstrauser 3 days ago |
| > In the 2000's, politics interfered and browser vendors removed plug-in support, instead preferring their own walled gardens and restricted sandboxes That's one way to say it. The more common way was that users got tired of crappy plugins crashing their browsers, and browser devs got tired of endless complaints from their users. It wasn't "politics" of any sort that made browsers sandbox everything. It was the insane number of crashes, out-of-memories, pegged CPUs, and security vulnerabilities that pushed things over the edge. You can only sit through so many dozens of Adobe 0-days before it starts to grate. |
|
| ▲ | maxloh 3 days ago | parent | next [-] |
| The "walled gardens" he referred to are in fact based on open standards and open source, while the Applet runtime is not. Not all of Java is open source. The TCK, the testing suite for standard compliance, for instance, is proprietary, and only organizations with Oracle's blessing can gain access. AdoptOpenJDK was only granted access after they stopped distributing another Java runtime, OpenJ9. |
| |
| ▲ | exDM69 3 days ago | parent | next [-] | | Correct me if I'm wrong but during this timeframe (circa 2005), Java was not open source at all. OpenJDK was announced in 2006 and first release was 2008, by which time the days Java in the browser were more or less over. | |
| ▲ | anthk 3 days ago | parent | prev [-] | | ActiveX was hell for security. | | |
| ▲ | jeroenhd 3 days ago | parent [-] | | ActiveX was its own special kind of terrible for many reasons, but so were Java, Flash, and Silverlight. At least ActiveX didn't hide the fact you were about to grant arbitrary code execution to a website, because you might as well have assumed that the second these plugins were loaded. The only advantage to Java applets I can think of is that they had the advantage of freezing the browser so it could no longer be hacked. The Java applet system was designed better than ActiveX but in practice I've always found it to be so much worse of an end user experience. This probably had to do with the fact most ActiveX components were rather small integrations rather than (badly fitted) full-page UIs. | | |
| ▲ | Aardwolf 3 days ago | parent | next [-] | | Flash is still a big loss imho, the ecosystem of games, movies and demonstration thingies was amazing and they were accessible to create by many. Unlike Java applets that slowed the main browser UI thread to a crawl if they didn't load they usually didn't), Flash didn't have such slowdowns. One exception is early 2000s Runescape: that was Java in browser but always loaded, no gray screen and hanging browser. They knew what they were doing. | | |
| ▲ | jeroenhd 3 days ago | parent [-] | | Many of the old games and movies still play back well with Ruffle installed (https://ruffle.rs/). Newgrounds embeds it by default for old interactive flash media that they couldn't convert directly to video. It's not a perfect fit, but it works. The speed of Ruffle loading on a page is similar to that of Flash initializing, so you can arguably still make flash websites and animations to get the old look and feel if you stick to the Ruffle compatibility range. The half-to-one-second page freeze that was the norm now feels wrong, though, so maybe it's not the best idea to put Flash components everywhere like we used to do. Runescape proved that Java could be a pretty decent system, but so many inexperienced/bad Java developers killed the ecosystem. The same is true on the backend, where Java still suffers from the reputation the Java 7 monolithic mega projects left behind. | | |
| ▲ | troupo 3 days ago | parent [-] | | It's good that we have the runtime to run old Flash games. What we lost is an extremely easy environment for authoring/creating them. Nothing has come even close since Flash. Not just game, but any kind of interactions and animations on the web. | | |
| ▲ | ssl-3 3 days ago | parent [-] | | Where did the tools go? Can a person not run Flash authoring tools with an era-appropriate operating system in a VM or something? | | |
| ▲ | Aardwolf 2 days ago | parent | next [-] | | Having to run it in a VM already makes it less approachable | |
| ▲ | troupo 2 days ago | parent | prev [-] | | That's the only way I guess. What I meant, with the death of Flash, nothing appeared to offer the same tools for any other web technology | | |
| ▲ | ssl-3 2 days ago | parent [-] | | I think perhaps what was lost is mostly this: Macromedia. They had a knack for making content creation simple. Flash was just one of the results of this: It let people create seemingly-performant, potentially-interactive content that ran almost universally on the end-user computers of the time -- and do it with relative ease because the creation tools existed and were approachable. Macromedia also provided direction, focus, and marketing; more of the things that allowed Flash to reach saturation. Someone could certainly come up with an open JS stack that accomplishes some of the same things in a browser on a modern pocket supercomputer. And countless people certainly have. But without forces like marketing to drive cohesion, simplicity, and adoption then none of them can reach similar saturation. |
|
|
|
|
| |
| ▲ | amluto 3 days ago | parent | prev [-] | | In my experience, most of the more important Java-on-the-web stuff was Java Web Start as opposed to applets. And Java Web Start was all kinds of bad. About the only remotely good thing I could say is that it has a sandbox. Which protected no one from anything, by design, because it was the app’s choice whether to use it. And Web Start apps also often included native code, too, so they weren’t even portable. | | |
| ▲ | insearchoflost 3 days ago | parent [-] | | So much JWS PTSD. Industrial automation got a giant dose of it and those things somehow weren’t even portable to different versions of internet explorer. |
|
|
|
|
|
| ▲ | exDM69 3 days ago | parent | prev | next [-] |
| Exactly. Java was so buggy and had so many security issues about 20 years ago that my local authorities gave a security advisory to not install it at all in end user/home computers. That finally forced the hand of some banks to stop using it for online banking apps. Flash also had a long run of security issues. |
| |
| ▲ | Gravityloss 3 days ago | parent | next [-] | | In the 2000s, my bank was acquired by some bigger bank from another country. Their long standing, well working and fast banking application was replaced with a very dysfunctional Java applet thing. I was using Linux at the time and IIRC it either worked barely, or then not at all. I phoned the bank, and they told about a secret alternate 'mobile' url, that had a proper working service. I used that for a while before ultimately switching to another bank. The bank sent apology letters to customers and waived some fees also as they saw many of them leave. It made me really wake up that to the fact if the company can do these visible level blunders, what else is going on there, and also, how the customer is in such a vulnerable position. On the other hand, NASA in the past had some really great Java applets to play with some technical concept and get updated diagrams, animations and graphs etc. | |
| ▲ | bigfatkitten 3 days ago | parent | prev | next [-] | | I worked for a large financial institution in the early 2010s. They ran Windows XP, IE 8, and they stuck with a 3-4 year old JRE to support one piece of shit line of business app that was used only by about 100 (out of 50,000) users internally. That institution had endpoints popped by drive-by exploit kits dropping banking trojans like Zeus daily. | |
| ▲ | cube00 3 days ago | parent | prev [-] | | > banks to stop using it for online banking apps I never understood why so many banks flocked to building their online banking in applets when it wasn't like you needed anything more advanced than HTML to view balances and make transactions. | | |
| ▲ | im3w1l 2 days ago | parent | next [-] | | Java did many things very right. It's a really fast language. It's memory safe. It could run anywhere. It had well-thought out namespacing at a time where namespacing was a concept most people barely knew they needed it. It had an advanced security model. It was a very reasonable bet at the time imo. | |
| ▲ | wiseowise 3 days ago | parent | prev | next [-] | | Because they’ve hired a bunch of Java devs that don’t know anything outside of Java? | | |
| ▲ | 72deluxe 3 days ago | parent | next [-] | | Amusingly, we see the repeat of this in "desktop" apps that are just web technologies in a browser, wasting CPU time and RAM for "ease" of development. (I don't think it's easier at all - a mess of JS callbacks makes it difficult to see the initiator of anything). | | |
| ▲ | wiseowise 3 days ago | parent [-] | | > Amusingly, we see the repeat of this in "desktop" apps that are just web technologies in a browser, wasting CPU time and RAM for "ease" of development. Web is chosen because it is the fastest way to hit all platforms, not because it's a skill issue. > a mess of JS callbacks makes it difficult to see the initiator of anything Async/await is available in most browsers since 2017, what year are you from? | | |
| ▲ | 72deluxe 2 days ago | parent [-] | | I think the initial idea of being the fast to hit all platforms was the idea, but this has meant a lack of skill in developers who don't know about each platform, so you end up with a mess of apps that attempt to (badly) replicate native elements like menus. You are right about async/await. I am old! (But I still find the development of software in a large JS system unmanageable versus old C++ development approaches). |
|
| |
| ▲ | theandrewbailey 3 days ago | parent | prev [-] | | Java Servlets and JSPs output HTML. I've been building a blog with them for over 15 years. |
| |
| ▲ | elric 3 days ago | parent | prev [-] | | I'm getting the impression you're conveniently ignoring how piss poor HTML/AJAX/JS capabilities were back then, or even how slow internet speeds were. Applets could do things that JS could not. Some bank applets did client side crypto with keys that were on the device. Good luck doing that in JS back then. My bank's applet could cope with connection losses so I could queue a payment while dialup did it's thing. |
|
|
|
| ▲ | locallost 3 days ago | parent | prev | next [-] |
| Yeah, a totally mind boggling statement, almost completely void of reality. I wasn't even tired of the crashes, it was just a totally awful experience of using them in every way. They took forever to load, were clunky to use and even just downright ugly because the UI had nothing to do with what you usually got to use, and was a lot worse. The idea was good on paper, but the implementation sucked. Everyone, well almost everyone apparently, was relieved we didn't have to deal with any of that anymore. |
| |
| ▲ | razakel 3 days ago | parent [-] | | Even Flash wasn't as bad as Java applets, and that's saying something. | | |
| ▲ | wiseowise 3 days ago | parent [-] | | Flash was great when it came to experiences. Ignoring melting CPU, crashes, loading times. |
|
|
|
| ▲ | ozgung 3 days ago | parent | prev | next [-] |
| For Flash vs iPhone case, it was indeed mostly politics. People were using Flash and other plugins in websites because there were no other alternative, say to add a video player or an animation. iPhone was
released in 2007 and app store in 2008. iPhone and iPad did not support then popular Flash in their browsers. Web experience was limited and broken. HTML5 was first announced in 2008 but would be under development for many years. Not standardized yet and browser support was limited. Web apps were not a thing without Flash. Only alternative for the users was the App Store, the ultimate walled garden. There were native apps for everything, even for the simplest things. Flash ecosystem was the biggest competitor and threat for the App Store at that moment. Finally in 2010 Steve Jobs addressed the Flash issue and openly declared they will never support it. iPhone users stopped complaining and in 2011 Adobe stopped the development of mobile plugins. Adobe was in a unique position to dominate the apps era, but they failed spectacularly. They could have implemented payment/monetization options for their ecosystem, to build their own walled garden. Plugins were slow but this was mostly due to hardware at the time. This changed rapidly in the following years, but without control of the hardware, they had already lost the market. |
| |
| ▲ | kergonath 3 days ago | parent | next [-] | | That is almost entirely backwards. > For Flash vs iPhone case, it was indeed mostly politics. It was politics in the sense that Flash was one of the worst cause of instability in Safari on OS X, and was terrible at managing performance and a big draw on battery life, all of which were deal breakers on the iPhone. This is fairly well documented. > iPhone was released in 2007 and app store in 2008. iPhone and iPad did not support then popular Flash in their browsers. There were very good reasons for that. > Web apps were not a thing without Flash. That is entirely, demonstrably false. There were plenty of web apps, and they were actually the recommended (and indeed the only one) way of getting apps onto iPhones before they scrambled to release the App Store. > Flash ecosystem was the biggest competitor and threat for the App Store at that moment. How could it be a competitor if it was not supported? > iPhone users stopped complaining It was not iPhones users who were complaining. It was Android users explaining us how prehistoric iPhones were for not supporting Flash. We were perfectly happy with our apps. > and in 2011 Adobe stopped the development of mobile plugins. Yeah. Without ever leaving beta status. Because it was unstable, had terrible performances, and drained batteries. Just what Jobs claimed as reasons not to support it. > Adobe was in a unique position to dominate the apps era, but they failed spectacularly. That much is true. > Plugins were slow but this was mostly due to hardware at the time. Then, how could native apps have much better performance on the same hardware, on both Android and iOS? | | |
| ▲ | kirb 3 days ago | parent | next [-] | | > Then, how could native apps have much better performance on the same hardware, on both Android and iOS? Web engines were honestly not great back then. WebKit was ok but JavaScriptCore was very slow, and of course that’s what iOS, Android, and BB10 were all running on that slow hardware. I have distinct (bad) memories that even “GPU-accelerated” CSS animations were barely 15fps, while native apps reliably got 60fps unless they really messed up. That’s on top of the infamous 300ms issue, where every tap took 300ms to fire off because it was waiting to see if you were trying to double-tap. So I really think some of the blame is still shared with Apple, although it’s hard to say if that’s because of any malicious intent to prop up the App Store, or just because they were under pressure to build out the iOS platform that there wasn’t enough time to optimise. I suspect it was both. | |
| ▲ | butvacuum 3 days ago | parent | prev [-] | | I will never forget the hubub around the discovery that everything you typed on android went to a root shell. "What should I do?"... "reboot" phone reboots |
| |
| ▲ | kstrauser 3 days ago | parent | prev [-] | | The best think Jobs ever did for tech was forcing the whole industry to advance HTML to where it could replace Flash, and killing the market for proprietary browser content plugins. I don’t want to imagine what the web would be like today if Flash had won, and the whole web was a loader for one closed-source, junky plugin. |
|
|
| ▲ | jauntywundrkind 3 days ago | parent | prev | next [-] |
| Applets also had no view-source. Spiritually the web ought to be more than an application development platform. We haven't been doing great about that (with heavily compiled js bundles), but there's still a lot of extensions that many users take for granted. I'm using a continual wordcount extension (50 words so far), and Dark Reader right now. Applet's are the native app paradigm, where what the app-makers writes is what you get, never a drop more. It's not great. The internet, the land of protocols, deserved better. Is so interesting because it is better. |
| |
| ▲ | wiseowise 3 days ago | parent [-] | | Don’t worry, they’re trying to sneak back in with WASM and drawing everything to canvas. | | |
| ▲ | MarsIronPI 3 days ago | parent | next [-] | | At least with WASM I'm not stuck using Javascript whether I like it or not. Yes, transpiling to Javascript is a thing, but it's not too much better, since transpiled code isn't much more readable than WASM (see also ClojureScript; CoffeScript isn't too bad though, but it's almost equivalent to JS). | | |
| ▲ | jauntywundrkind 2 days ago | parent [-] | | With v-dom and bundles, we have lost a lot of the societal wins of view-source already. Extensions still work but user agency is more limited. The view you are saying here is one that seems resoundingly common. Is what I heard from Flutter and flutter-web: my experience as a dve is what matters. What I can make is what matters. That's true, sure! But there's a balance. Society matters too. What agency users have, what their user agency allows them to do, how they can circuit bend your website for themselves also matters. How we judge the scales here is a factor. I am so so excited for wasm. Particularly wasm-components, where there is more than a huge mega bundle of compile code, where there are intelligible code boundaries and calls across modules. That, I want to hope will be a semi legibile WASM. But a lot of wasm today feels like it really slides back down the ladder into this rebuffing form of development that doesn't recognize any of how the web was better because it was more than the synthetic product it created, how the web was better for it's protocols, legibility, and user agency. I hope we don't slide back into a new Flash or Applet era, where the user & legibility & agency are given no regard, where a developer egocentricity is the only guiding principle. |
| |
| ▲ | zihotki 3 days ago | parent | prev [-] | | I wish there was a setting in major browsers to disable WASM or at least ask to enable per site |
|
|
|
| ▲ | petesergeant 3 days ago | parent | prev | next [-] |
| I would attribute this much more to Mobile Safari saying "no", which killed off plugins, especially Flash. Java Applets were essentially slow Flash from a user's perspective. |
| |
| ▲ | jeroenhd 3 days ago | parent [-] | | I don't think Safari mattered much. Java was still used for things that wouldn't work on phones without massive redesigns anyway. I doubt you'd have been able to bootstrap Runescape in any form, even rewritten in native code, on the first iPhone to support apps. Applets worked fine on desktops and tablets which was what they were designed for. Browser vendors killed the API because when they looked at crashes, freezes, and performance opportunities, the Flash/Java/etc. API kept standing out. Multithreaded rendering became practical only after the old extension model was refactorerd and even then browsers were held down by the terrible plugin implementations they needed to work around. | | |
| ▲ | masklinn 3 days ago | parent [-] | | > I don't think Safari mattered much. Apple was the first to publicly call out native plugins (jobs did so on stage) and outright refused to support them on iOS, then everyone else followed suit. | | |
| ▲ | jeroenhd 3 days ago | parent | next [-] | | >then everyone else followed suit NPAPI's death in non-IE-browsers started around 2015. Jobs announcing mobile Safari without Flash was 2010. Unfortunately, ActiveX still works to this very day. Chrome built up a whole new PPAPI to support reasonably fast Flash support after the Jobs announcement. Microsoft launched a major release of Silverlight long after Jobs' speech, but Silverlight (rightfully) died with Windows Phone, which it was the main UI platform for around its practical death. Had Microsoft managed to launch a decent mobile operating system, we'd probably still be running Silverlight in some fashion today. Even still, Silverlight lasted well until 2021 before Silverlight actually fell out of support. Jobs may have had a hand in the death of Flash websites, but when it came to Java Applets/Silverlight, the decision had little impact. That plugin model was slowly dying on its own already. | |
| ▲ | kergonath 3 days ago | parent | prev [-] | | > then everyone else followed suit There was a Flash runtime on Android. It was terrible. Java applets were already dead anyway, outside of professional contexts, which are not relevant on phones anyway. |
|
|
|
|
| ▲ | cogman10 3 days ago | parent | prev | next [-] |
| A coworker of mine that worked at Adobe through the death of flash said a big reason for that death was Apple deciding the Ipod touch Safari would not support plugins. Adobe had big plans on the Ipod supporting Flash and that announcement all but killed their Flash division. Yes, Adobe supported Flash for years after that, but it was more of a life support thing and not active development. They saw the writing on the wall and knew that for flash to survive, it had to survive in a mobile world. With the decreased support of flash, the other browser devs simply followed suit and killed off a route for something like Flash running in a browser. |
| |
| ▲ | theamk 3 days ago | parent [-] | | Makes sense, Flash was eating battery like crazy. And it was widely used in ads, so it would appear on all pages of the internet. One of the first things I used to install on all my computers (laptops and desktops alike) was "block Flash until clicked" add-on. | | |
| ▲ | musicale a day ago | parent [-] | | Now no web browser can reliably block autoplaying video. :( |
|
|
|
| ▲ | avereveard 3 days ago | parent | prev [-] |
| It mostly was politics. Browser crashes and slowness were almost always traced down to microsoft own java plugin that strongarmed proper java plugin install out of the way every update and every now and then to be sure, with a semi compatible runtime and a classloarlder that insisted fronting the dow load of all resources. It created so much uncertainty across the ecosystem even today people repeat the "applet crashes browser line, god riddance" line But it was deliberate action by microsoft. So yeah 100% politics because without a court document in modern society we cannot call this anything else. |
| |
| ▲ | masklinn 3 days ago | parent | next [-] | | Yes I’m sure jobs went on stage calling out flash as the main source of Safari crashes because of Microsoft’s Java plugin. | |
| ▲ | sunaookami a day ago | parent | prev [-] | | No? Microsoft Java was discontinued in 2004, the crashes were infamous even way later in 2010. Flash was also notorious for crashing Firefox on YouTube. Not even mentioning the bad security of these plugins. |
|