3 ms·
Why not just take the React-native model and port it to Rust (whatever that translates to)? From my POV for 85%+ of things it’s good enough and would be fairly
by andy_ppp 6y ago
Why not just take the React-native model and port it to Rust (whatever that translates to)? From my POV for 85%+ of things it’s good enough and would be fairly simple to implement.
- k__ 6y agoWhile I'm all for React-Native, the opinions on how to do cross-platform GUI differ. Some say, use native UI elements, like React-Native. Some say, render your own stuff in a (GL) canvas, like Flutter/Revery.
- d0100 6y agoSome say, render your own stuff in a (GL) canvas, like Macromedia Flash
- zellyn 6y agoRaph's previous post (linked in the first paragraph) goes into more detail than you could imagine on the options and differences and tradeoffs involved…
- andy_ppp 6y agoThanks! I’ll check it out
- oblio 6y agoYou mean that they should wrap native controls? It's not React Native's model, it has been around since forever. WxWidgets (https://en.wikipedia.org/wiki/WxWidgets https://en.wikipedia.org/wiki/WxWidgets) 1992 SWT (https://en.wikipedia.org/wiki/Standard_Widget_Toolkit https://en.wikipedia.org/wiki/Standard_Widget_Toolkit) 2003 Or if you mean React itself, I found this blog post kind of funny: https://www.bitquabit.com/post/the-more-things-change/ https://www.bitquabit.com/post/the-more-things-change/ :-)
- andy_ppp 6y agoNo I mean something that uses: 1) data builds the UI 2) widgets, don’t really care if they are native but some building blocks (button, lists, activity indicator etc.) The list from React native will do for now. 3) layout using flexbox and the exact same simplified css with the cascade. That’s what I’m saying to take anyway.
- thesuperbigfrog 6y agoThose items remind me very much of how GUIs are specified in Tk: https://en.wikipedia.org/wiki/Tk_(software) https://en.wikipedia.org/wiki/Tk_(software) Perhaps a model similar to Tk could be used?
- andy_ppp 6y agoWhich is more broadly known about and used, Tk or React Native? It really doesn’t matter anyway, I’m just suggesting these things that work fairly well to avoid more standards proliferation. It won’t work.
- andy_ppp 6y agoShould read “The list of widgets from React Native” and “withOUT the cascade”. Guess I was tired last night...