It seems like such an obvious solution used by all languages that require a runtime.
It seems like such an obvious solution used by all languages that require a runtime.
I think native app development might have a fair chance if it could adapt to some of the decisions the web dev community (and communities using server-side languages) have made over the years.
- There was a fairly universal rejection of WYSIWYG editors after the Frontpage/Dreamweaver era, once CSS2 and XHTML started to become a thing; yet your default option for building a Mac or Windows app is to download around 6GB worth of IDE, interface builders, and other toolkits you'll never even know you'll need before you can properly get started.
- While you might consider a webpack or babel setup to have appropriated the position, you don't require the solution or project file those editors build to get a hello world up and running by hand. An index.html and an app.js is enough to deploy an entire application.
- hot code reloading and debugging in the UI is a breeze (react native and flutter have been great for this too); no need to manually rebuild on each change.
This comes at the cost of dealing with the usual web-dev bugbears, ones that don't exist when you're working in C# or Obj-C or Swift or whatever, but the browser has almost accidentally become this amazing environment for experimental app development, that I imagine in some ways takes what Smalltalk had to offer in a totally different direction.
It would be interesting to see what OS vendors could do to level the playing field there. I enjoy doing native app development a lot but I do miss some of what you get from working with JS and React.
https://www.adobe.com/products/dreamweaver.html
And it has Animate (nee Flash) and Spark as companions.
https://www.adobe.com/products/animate.html
https://www.adobe.com/products/spark.html
All of them also weight as much GB as most IDEs and yet not as easy as something like Winforms or Delphi for the complete experience.
Regarding levelling the playing field, UWP supports WebApps and PWA apps delivered via the store have access to UWP APIs, no need to have Electron around.