- Joined
- Aug 17, 2018
JavaFX works in the browser as well.That said, are you legit asking to bring back Java applets? Cuz this shit needs to work in browsers and the desktop.
But no, it does need to work in the browser.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
JavaFX works in the browser as well.That said, are you legit asking to bring back Java applets? Cuz this shit needs to work in browsers and the desktop.
Well, whatever. I don't think there's any point arguing because we obviously have completely opposing viewpoints.The thing about Electron is it's, again, a necessary thing. It enables developers to make a single application for both web and all major desktop OSes. It's what Java always wanted to be if it didn't fail at that spectacularly. Software development is prohibitively complicated and time-consuming, I think even after 70 years of people learning that the hard way, people still don't seem to appreciate how software takes many talented man-hours to make, and it's only getting ever more complex as software is expected to simply do more things. No matter how big the company is, it's got a limited amount of employees, time and money. Companies, especially Microsoft have to strategize and make appropriate abstractions to both help themselves make software and help their customers make software for their platforms.
It's fair to say it's an unfortunate state of affairs that everything needs to be made on top of HTML, CSS and JS. It's all just kind of a fungus that sporadically grew and nobody really planned any of this out. But there are great strides by pretty much every massive IT corporation to optimize the entire stack and even trying to replace parts of it, like with WebAssembly. There's actually quite a few projects to make standalone desktop runtimes for WASM.
Plus, this doesn't really affect the average user. I don't know what your situation is, but the average well-behaved Electron app uses, like, 300MB RAM, maybe less. Most people have 8 or 16GB RAM, it's plenty of space for whatever various applications they use daily. I mean I've got a ton of shit open and I'm doing fine, I hit the page file every now and then but it's nothing too dramatic.
Well, whatever. I don't think there's any point arguing because we obviously have completely opposing viewpoints.
If you think 300mb (best case scenario) for something Windows 95 could easily do is acceptable then I couldn't disagree more.
I will however, heavily dispute 16GB of ram being a "general user" configuration. Most users I've seen only have 8.
I also disagree with the idea that webassembly is going to make things better. It's just the foundations for a horrifying tower of jank sitting on top of an already existing one. Why compile to bytecode on top of a massive overhead when you could just comple to the base OS instead? As much as I dislike Java, at least it's virtual machine is far less removed from the base hardware.
I understand the need to capture the web market but I don't see why everything needs to be constrained by it.
Because it's easier to ship and distribute bytecode.Why compile to bytecode on top of a massive overhead when you could just comple to the base OS instead?
Don't forget the strides .NET has made either. It's now cross platform and open source.Regarding bytecode, although it deviates a bit from the subject, the technologies regarding it today are pretty amazing:
- hotspot JVM: The JIT compiler is GOOD
- GraalVM: polyglot native compiler for all JVM languages, python, ruby JS (I think)
Even Emacs is working on a native compiler for their bytecode representation.
.net is a joke for cross platform development.Don't forget the strides .NET has made either. It's now cross platform and open source.
True for WPF. Not so true for WinForms. Too bad for those who drunk the WPF koolaid.It's much easier to get a native Win32 application running on Linux through wine than a .net application through mono.
Is a powerful abstraction that bad? Rendering UI elements with a markup language isn't much different from a game engine using a scripting language.
ACTUALLY most game engines have dropped scripting languages because its a shit idea in practice. If you want lots of nightmarish bugs then by all means shove fucking lua into your engine.
Examples? I don't know of any modern commercial engines that don't have a scripting language. Again, you need the ability to have graphics designers to write shitty little scripts to have NPCs sparkle. It's a business requirement that modern consumer hardware is more than happy to harbor the cost of.
I'd be up to hear some ranting for entire paragraphs. The only Lua I've touched is for "Tales of Maj'Eyal", and I liked it, at least more than Python and Javascript.Ah. Yeah actually I do consider blueprints a scripting language. I think there's a fallacy people make where they attribute "scripting language" with the definition of "a weakly-typed interpreted language thats some horrifying amalgamation of the worst parts of Lisp and Algol." I basically just mean any sort of runtime extension system whether it's JIT compiled or even some Scratch-like system.
But yeah, Lua is shit. I don't think I outright hate it, but god I could rant about it for entire paragraphs.
I'd be up to hear some ranting for entire paragraphs. The only Lua I've touched is for "Tales of Maj'Eyal", and I liked it, at least more than Python and Javascript.
But Lua is strongly typed. Do you mean dynamic typing?With those languages, and Lua specifically, the weak typing is really annoying. I mean I know it's kind of a given to hate weak typing since it results in so many bugs and less readable code, but it is a big issue for me.
But Lua is strongly typed. Do you mean dynamic typing?
Classic OOP to me means Smalltalk, of which Java is a parody. I'd be curious how close Lua cleaves to the original OOP tradition, which was very Lispy, very dynamic, and crazy flexible. The core of Smalltalk is also based on a simple calculus which almost makes you think of lambda calculus. Even conditionals are built out of the message dispatching system.Then there's the "object-oriented" nature of it. This one gets me really autistic for some reason. Like, they're trying to be all cute about their OOP system, when in reality they just half-implemented some half-assed classical OOP system. They try to tout it as being "flexible", literally all you can do with it is just classic OOP shit like in Java except it's way harder and more annoying because the language does nothing to help you, for the sake of being "flexible", it's like how people say Boogie is too much of a fence sitter. Worst OOP system I have ever used.
Classic OOP to me means Smalltalk, of which Java is a parody. I'd be curious how close Lua cleaves to the original OOP tradition, which was very Lispy, very dynamic, and crazy flexible. The core of Smalltalk is also based on a simple calculus which almost makes you think of lambda calculus. Even conditionals are built out of the message dispatching system.
I never much liked Python or Javascript, but on the face of it, Lua looked to be getting closest to that simple core calculus. I've heard similar things for Ruby.
On the dynamic craziness, where bugs are inevitably rampant and only going to be found at runtime, it means your debugger better be awesome. The debuggers of Smalltalk and Common Lisp still make everything I've used today look like toys.