6 ms·
Literally everything you said except the part about using the language you want has been true of Java for at least a decade. Everything old is new again.
by AnIdiotOnTheNet 7y ago
Literally everything you said except the part about using the language you want has been true of Java for at least a decade.
Everything old is new again.
- adwn 7y ago> Literally everything you said except the part about using the language you want has been true of Java for at least a decade. Everything old is new again. "Literally everything you said except the part about inflatable tires has been true of wooden wheels for at least 3000 years. Everything old is new again." Sometimes, reinventing the wheel actually makes sense.
- AnIdiotOnTheNet 7y agoYou're going to have a hard time convincing me that the browser as a runtime is a better solution than a runtime actually designed for running applications.
- ScottFree 7y agoThe problem lays in the UI. Most of what a modern application does is provide a decent UI to interact with data on a remote server. Swing was a terrible UI library. I never saw a java applet that wasn't ugly and clunky.
- AnIdiotOnTheNet 7y agoAnd the completely non-native snowflake mobile-first slow-as-hell UIs of today's web are better?
- ScottFree 7y agoYes. Presentation matters.
- FpUser 7y agoI would disagree
- deleted 7y ago[deleted]
- typon 7y agoYes, a million times better.
- AnIdiotOnTheNet 7y agoAnd this is why we can't have nice things.
- ScottFree 7y agoWhat's your definition of "nice?" I've never heard anybody describe a java applet that way.
- crznp 7y agoIntelliJ? But I agree: HTML/CSS/JS is far easier (eg: threading) and generally results in a more polished experience.
- tracker1 7y agoIntelliJ: It's not horrible, but it isn't really good/pretty either.
- pjmlp 7y agoSwing is only bad for those that never bothered how to use it properly, by reading blogs and books like Filthy Rich Clients.
- ScottFree 7y agoYou're biting hard on the 'true scotsman' fallacy. Ask the linux developers where that gets them. Is it the year of the linux desktop yet?
- pjmlp 7y agoIt would be if they bothered to create a single DE and did not have religious issues with driver issues, as proven by ChromeOS and Android. None of them have anything to do with lack of skill using Swing.
- ScottFree 7y agoChromeOS and Android also have good looking interfaces. > None of them have anything to do with lack of skill using Swing. Can you name me 10 swing apps that look good? I can do the same for the web and MacOS. I'm not sure I'd be able to name 10 for windows, but I can name at least two.
- pjmlp 7y agoA random picked number to somehow win Internet discussion points I guess. Anyway, InteliJ, SwingUI Weather app, any app using Substance, Alloy, JGoodies or Synthetica theme libraries.
- ScottFree 7y ago> A random picked number to somehow win Internet discussion points I guess. No need to be nasty. I chose 10 at random because it's a decent sample size without being too onerous for an online discussion. If I wanted to earn internet discussion points, I would have made it 10,000. I'll take a look at those and get back to you. I'm very curious. Unlike some commenters (not a jab at any particular person or even a particular site, just a general observation of commenters online), I like it when I'm proven wrong about something. I'd rather know than live in ignorance.
- oaiey 7y agoJava... Are you kidding. The UI stack and distribution model is horrible compared to WebAssembly. The resources available for HTML/CSS cannot be compared with JavaFX, Swing or whatever the other original stack was. And the Applets sandboxing was obviously so horrible everyone killed it. WA is amazing here copying the existing and already hardened JavaScript model.
- pron 7y agoBut in that case we already have all that with Electron. Unless you want to program in C/C++ or Rust, compiling your language to JS would probably result in an image that's both smaller (because you won't need to bring your own GC) and faster (because you'll be enjoying JS's JIT) than WASM. JS is a better compilation target (you don't have to use JS directly) than WASM for the vast majority of languages. WASM is great for when you have a bit of code you'd like to write in C and use as a library from JS (or a language compiled to JS).
- oaiey 7y agoYeah valid point. I am quite comfortable with HTML but only tolerate JS with heavy use of TypeScript. For me C# and Blazor sound quite cool. The size is my biggest concern as well.
- pjmlp 7y agoWhat a joke, where are the visual designers for HTML/CSS, with automatic binding generation for database backends? Layout engines with customization capabilities? Where is the hardware accelerated drawings that I can be fully sure it is hardware accelerated without doing tricks with z index and hoping for the best regarding mapping css drawings into textures?
- tatersolid 7y ago> What a joke, where are the visual designers for HTML/CSS, with automatic binding generation for database backends? Did you ever actually use a PowerBuilder (or similar RAD tool) application? The experience was horrible, slow, and basically a waste of titanic amounts of money. I once saw half an accounting department quit after a switch to a RAD financials package. There’s a reason all those 1990-2005 era vertical-market app companies got bought by PE firms and are just basically dead except for milking maintenance revenue. Building “data-model centric” apps with RAD tools optimizes for ease of the developer instead of the end user. Which is exactly backwards.
- jayd16 7y agoExcept you can run wasm on an iPhone. I like Java but it's not like they didn't try Java applets. They really screwed the security model. I guess in that sense what the parent is asking for is actually not nearly as feasible as using the current web security model.
- AnIdiotOnTheNet 7y ago> Except you can run wasm on an iPhone. An arbitrary decision made by the manufacturer. If Apple decided they didn't want to support web assembly tomorrow, do you think that would kill the iPhone or WASM?
- matthewbauer 7y agoIt would almost certainly kill WASM
- deleted 7y ago[deleted]
- DonHopkins 7y agoLike it also killed not just Java on phones but also Flash.
- HALtheWise 7y agoIt depends on when, and how much adoption it has. If the iPhone stopped supporting HTML, it would kill the iPhone, and your guess is as good as mine about how wide of adoption wasm needs before it hits that threshold.
- AnIdiotOnTheNet 7y agoI'm not so sure. Flash was ubiquitous until the iPhone decided not to support it.
- 7y ago
- bastawhiz 7y agoThe difference is that the runtime lives in the browser, based on an open standard. Operating systems come with browsers. The success of WASM is that my mom doesn't need to know how to install Java (and maybe accidentally a Yahoo toolbar) to run an app to look at her DICOM images.
- AnIdiotOnTheNet 7y ago> The difference is that the runtime lives in the browser, based on an open standard. Java is an open standard (I think, I didn't fact check this thuroughly) OpenJDK is the reference implementation of that standard. You can try to claim that in reality Oracle has a lot of control, but I'd come right back and say that Google basically controls the browser. > The success of WASM is that my mom doesn't need to know how to install Java If OSs had bundled a Java runtime she wouldn't need to install Java either.
- cloverich 7y agoI appreciate the arguments but they do still rely on _using_ a JVM language _and_ shipping an additional runtime (since browsers are already on all devices in question here). Those are two reasons (in addition to Oracle, which as much hate as Google gets I'd bet people would still take them over Oracle) people are excited about WASM.