7 ms·
This toolkit approach sounds inspired by the web. You write in whatever language / framework but the GUI runs in the browser runtime. But what about their Reac
by ckcheng 7y ago
This toolkit approach sounds inspired by the web. You write in whatever language / framework but the GUI runs in the browser runtime.
But what about their ReactXP? That's supposed to let you build for React for Windows & Mac and thus WinUI, and also React Native for mobile and such.
- s_y_n_t_a_x 7y agoThey did a great job with ReactXP tying together react-dom (Web), react-native (Android, iOS, macOS), and their react-native-windows (Windows, Xbox, Mixed Reality). Unfortunately, development on it has slowed and it's not the easiest experience for new developers. Fortunately, it's super flexible and open-source so I've forked it to continue my vision of the perfect native cross-platform stack: https://ult.dev/ https://ult.dev/
- The_rationalist 7y agoWhy choose ult instead of electron? If the argument is performance, benchmarks are needed.
- s_y_n_t_a_x 7y agoBecause Electron does not run on mobile and it doesn't interface with the native UI. No benchmark is needed. Running your app in an entire browser (one of the most complex pieces of software w/ millions of lines of code) is of course going to be less performant and eat more resources. I'm not dissing Electron, it's great if you have a web app that you want to make standalone on the desktop. That alone does not make cross-platform though. Ult can target the DOM so you can build a web app then wrap it with Electron. This is currently the best way to target Linux. Ideally there will be a GTK bridge like the bridges for the other major desktop and mobile OSes.
- The_rationalist 7y agoBecause Electron does not run on mobile and it doesn't interface with the native UI. Just use ionic and electron, it is trivial. Running your app in an entire browser (one of the most complex pieces of software w/ millions of lines of code) is of course going to be less performant and eat more resources. You think you can draw conclusions from such a weak heuristic? One could argue that browsers are the software that had the most investment in optimizations. E.g chromium has the state of the art of 2D rendering performance (best skia integration). It's really sad to see that the myth that browser are slower than native uis is not challenged anywhere, It seems like people here locally disable their critical thinking, because of a blind spot.
- pjmlp 7y agoBack on my .com days, we would just start the application using localhost and make a OS request to use the system browser, but what do I know.
- deleted 7y ago[deleted]
- s_y_n_t_a_x 7y agoCongrats
- ckcheng 7y agoDo you know why development on ReactXP has slowed? Are they abandoning it?
- s_y_n_t_a_x 7y agoNo and I didn't mean to give the impression that it's inactive or anything. It's a pretty mature project so there's not many changes needed. The main thing was I wanted it to do more and I didn't agree with certain styles and APIs.