4 ms·
The only cross platform frameworks that provide excellent experience are HTML and JS. All those cross-platform app frameworks fail at the same point: Meeting t
by mrtksn 6y ago
The only cross platform frameworks that provide excellent experience are HTML and JS.
All those cross-platform app frameworks fail at the same point: Meeting the user expectations since they are different on different platforms. It always feels off if the platform specific experience is not fine tuned to the platform and at that point why just don't go native and have all the shiny things that the platform has to offer.
- TeeWEE 6y agoHTML and JS is not an excellent experience on mobile. Its quite shitty if you compare them to native apps.. Flutter is the platform that provides excellent experience here... Not on web yet, but its coming close.
- unnouinceput 6y agoAwesome. Now show me an Antivirus that will have Firewall / Live scanning / Live protection that is made using HTML and JS. Or you make one using HTML and JS. I hate Java. I really do. But when it comes to absolute same experience on cross-platform is the only programming language so far. None else is in the same league as Java. A distant second would be Free Pascal/Lazarus but their richness of libraries is like 10% of Java's. And please do not come with Xamarin, that monstrosity must be killed.
- wsc981 6y agoI kinda like Xamarin and use it mainly to create internal business apps for multiple platforms. I also write a lot of native code for iOS and Android and feel comfortable writing Objective-C, Swift, Java and C#. In case of Android-only I would actually rather use C# and Xamarin than Java. Why do you feel Xamarin is a monstrosity that must be killed?
- unnouinceput 6y agoBecause is MFC, another monstrosity that thank God it died, under a different hat. Microsoft are just re-polishing their old way, nothing remotely innovative there.
- mrtksn 6y agoI don't think you can make an antivirus, firewall or similar with an UI framework anyway so you will have to go native regardless. Just stick to a native UI framework of your choice.
- unnouinceput 6y agoYou're missing my point. You can have both full cross-platform AND native with Free Pascal/Lazarus. And making an AV is within its reach, technologically speaking.
- phonon 6y agoSciter is commonly used for anti-virus programs (600 million PCs....) https://www.kickstarter.com/projects/c-smile/open-source-sciter-engine https://www.kickstarter.com/projects/c-smile/open-source-sci... (check the logos) https://news.ycombinator.com/item?id=23167751 https://news.ycombinator.com/item?id=23167751
- unnouinceput 6y agoThat's the UI, not the engine itself. My point is to actually make the engine, i.e access files/network packets. I wanna see HTML/JS doing that.
- trboyden 6y agoIf Java was the end all be all, people wouldn't keep trying to create cross-platform UI frameworks. The truth is Java never lived up to it's hype, Flash ate its lunch when it came to browser-launched applications, and given Oracle's licensing and policies towards Java, no IP is truly safe that is built-upon its technology. If your app got popular enough, a greedy Oracle will come after you, i.e. Android.
- acuozzo 6y ago> I hate Java. I really do. But when it comes to absolute same experience on cross-platform is the only programming language so far. The problem is that if we're talking about UIs, then Java is only cross-platform for the platforms you care about. From a UI perspective, JRandom app using Swing won't work as expected on an Android phone. That's not "absolute same experience on cross-platform". That's instead a portability problem that you must solve explicitly by adapting your codebase to support two different UI frameworks or planning ahead for every possible porting target.
- swiley 6y agoThose are great if you're building the front end for a remote service. If you're building the GUI for some local tool TCL/TK is a lot better IMO.
- trboyden 6y agoHTML is not a UI platform. It is a language that provides structure and meaning to otherwise static content. The web browser is the equivalent of a WinForms or WPF application that interprets the HTML content and turns it into a visual presentation. CSS and JavaScript basically came along to help web browsers better present HTML content in fancier ways. But at the end of the day, it isn't a framework and HTML is still just structured content, if not bastardized to force a certain UI presentation. You can't have fancy web applications without a web browser, just like you can't have a native desktop application without a GUI chrome framework. When you speak to the overall footprint of a web application, the web browser and the functionality it provides has to be taken into consideration, when comparing to native desktop applications. It really comes down to the classic client/server problem - How much functionality is the client going to handle vs. the server? There is always going to be a compromise of size/complexity/performance when off-loading to the client, among other concerns. It really doesn't matter what the client technology is, Flash, SilverLight, WebAssembly, Java, etc., they all will run into that same basic structural design issue.
- mrtksn 6y agoWell, you have a web browser that runs JS everywhere and it happens that the browser handles the platform specific parts very well so every experience on the browser + HTML + JS feels native. It only fails if you try to be clever and do things like scrolljacking. It’s the ultimate cross platform UI framework.