3 ms·
There's enormous incentive for somebody to create a tool that actually lets you "write once, run everywhere" by automatically compiling your code to the right f
by bdw5204 3y ago
There's enormous incentive for somebody to create a tool that actually lets you "write once, run everywhere" by automatically compiling your code to the right format for every platform. This would dramatically reduce development time for companies that have to support multiple platforms which means they'd be willing to pay a substantial sum of money for it.
You already kind of have something along those lines with game development where (I believe) the most popular engines like Unreal and Unity can export to every popular gaming platform. Web development also allows that which is why everything is becoming a web site. But native apps have significant performance advantages over something like Electron that bundles a web site and a browser. Currently, there is no way that I'm aware of to generate a true native app with the correct look and feel for the platform and reasonably optimized for every platform from the same code but there should be.
- Aerbil313 3y agoThere is Tauri. Afaik it’s like Electron but doesn’t bundle a browser and instead uses the existing “native” browser on the system. This means you can have 100 Tauri apps and they won’t be any more performance intensive than having 100 open browser tabs.