4 ms·
What's most interesting for me here is Revery, the GUI framework. React-like, cross-platform, native-code, MIT-licensed. Yes, it's not using native widgets (so
by nine_k 5y ago
What's most interesting for me here is Revery, the GUI framework. React-like, cross-platform, native-code, MIT-licensed.
Yes, it's not using native widgets (so no built-in accessibility), but that might be fine in many cases.
- romwell 5y agoLooking forward to seeing it displace Electron.
- nine_k 5y agoNot soon: however I like ML-style languages, it's JS / TS what has the mass market adoption now. It's not even the language, it's not much harder to learn than TS. It's the smaller library ecosystem of Reason / OCaml.
- toastal 5y agoBut they get a simpler, sounder type system in OCaml as a result which should make maintenance easier for them. Given that they want this style of programming the ergonomics should be a lot easier than TypeScript as well.
- k__ 5y agoBack in the days, I would have bet on Revery as Electron replacement. But currently, Tauri seems like a more viable option.
- zbaylin 5y agoI’ve actually been working on adding more support for native widgets in Revery, mostly focusing on macOS since thats my daily OS, but Windows too. You can now use native buttons and menus, and I’m looking into adding other native inputs (like text fields).
- nine_k 5y agoThis is great news. Native text inputs have a lot of important affordances like navigation keys, selection, and spelling.
- rudedogg 5y agoIs it still running through javascript? I get confused by all the different interpretations of native.
- WiiManic 5y agoIts written mostly in ReasonML (syntax for OCaml) with a bunch of C-libs wrapped in OCaml (Skia/Harfbuzz/SDL2 etc), so it compiles properly to native in the same way that normal OCaml code would. The only JS in Revery is for some utility scripts and some aroud an option to compile to JS (which isn't functional at the moment, but the idea being you could compile to JS if you wished, with stubs to fill in the blanks for API calls that would normally hit Skia etc).