Live data from Hacker News

Revery – Native, high-performance, cross-platform desktop apps

github.com

121–129 of 129 posts

Re: Revery – Native, high-performance, cross-platform desktop apps

#121

The more I hear about Reasonml the more it intrigues me. This project is obviously in early stages, but it appears to have found a combination of parts from the ocaml and web development ecosystems that just might work well. All the best!

I've much more will to learn ReasonML than Typescript.

I keep considering it myself. I've done some things with OCaml, so I doubt the learning curve would kill me. I am a little dismayed that it's still a client side only language. (there are efforts to bring it to Node)

Re: Revery – Native, high-performance, cross-platform desktop apps

#122

Earlier quoted context omitted.

I've much more will to learn ReasonML than Typescript.

I keep considering it myself. I've done some things with OCaml, so I doubt the learning curve would kill me. I am a little dismayed that it's still a client side only language. (there are efforts to bring it to Node)

It's not a client-side-only language. You can and people do write servers with OCaml. Here's a full-stack OCaml/Reason app that demonstrates the state of the art today in tooling and usage: https://github.com/atongen/setml

Re: Revery – Native, high-performance, cross-platform desktop apps

#123

Earlier quoted context omitted.

What's "modern"? In no particular order (all of the below I've seen broken in numerous ways by non-native GUIs): - Does it receive proper keyboard focus? - Does it respond to keyboard input? - Does it adhere to the OS color theme? - Does it break OS accessibility features (high contrast/voice over/invert colors/grayscale/font sizes/etc. etc.)? - Does it respect scaling and resolutions? - Is font rendering consistent…

The average app today (see discord) is: Yes Yes Optional, but a nice to have No Yes Yes Yes Yes Yes Yes No (but it needs to be improved) No ( it needs to improve though Same with above What is HIG? Yes Yes

Discord breaks accessibility features though, screen readers work awfully in it. It was one of the big arguments against it when rust made an official server there, they spoke with discord about it and it got marginally better, but is still nowhere good enough.

Re: Revery – Native, high-performance, cross-platform desktop apps

#124
post #119

> Revery is the same - aside from platform-specific behavior, if your app looks or behaves differently on another platform, that's a bug! I want my applications to feel like they belong to the platform and not identical on every platform

> I want my applications to feel like they belong to the platform and not identical on every platform Then use the wxWidgets library. It has bindings for many languages, so it probably has bindings for yours. But more recent applications like SublimeText try a unified look in all platforms, and as long as it is fast enough and crash free, I am OK with that.

I’m okay with sublime, but it does make two major mistakes on macOS:

* The wrong keyboard shortcut for redo (Cmd-Y instead of Option-Cmd-Z) * Mixing native tabs and it’s own implementation

Re: Revery – Native, high-performance, cross-platform desktop apps

#125
post #19

Earlier quoted context omitted.

Of course that's a choice for everyone to make, but I feel like in general the benefit of fitting in the platform is overrated. After all the whole webapp-everything somewhat shows that people don't care that much, they are happy to use GMail for example. Another family of examples would be the big software packages like the Adobe or Autodesk stuff, they tend to have a fairly custom look&feel. IMO it's probably suffi…

Non-native GUIs are probably the number one reason we've fallen so far behind in control over our UIs that "dark mode" is legitimately considered a feature. It is absolutely ridiculous that, in 1995, I could completely change the font sizes and color scheme of my UI radically and it would work with the vast majority of applications, but in 2019 I have to wait for a developer to decide to add a theme or provide some k…

I don’t quite understand your point. macOS just recently enabled dark mode as a “feature” pretty much decades after other OSes have had this built-in

To me, dark mode is the prime example of the flimsiness of relying on native GUI solutions...for years Apple ignored users and apps that wanted dark guis, despite the fact that dark mode is legitimately a lot better for a lot of people

Re: Revery – Native, high-performance, cross-platform desktop apps

#126

> Revery is the same - aside from platform-specific behavior, if your app looks or behaves differently on another platform, that's a bug! I want my applications to feel like they belong to the platform and not identical on every platform

Agreed. It’s not really “cross-platform” if they take their own platform with them and implement it everywhere, and then all apps built with that toolkit are identical everywhere as a result.

Re: Revery – Native, high-performance, cross-platform desktop apps

#127
post #125

Earlier quoted context omitted.

Non-native GUIs are probably the number one reason we've fallen so far behind in control over our UIs that "dark mode" is legitimately considered a feature. It is absolutely ridiculous that, in 1995, I could completely change the font sizes and color scheme of my UI radically and it would work with the vast majority of applications, but in 2019 I have to wait for a developer to decide to add a theme or provide some k…

I don’t quite understand your point. macOS just recently enabled dark mode as a “feature” pretty much decades after other OSes have had this built-in To me, dark mode is the prime example of the flimsiness of relying on native GUI solutions...for years Apple ignored users and apps that wanted dark guis, despite the fact that dark mode is legitimately a lot better for a lot of people

Try leaving the Apple bubble. Windows 95 had completely tunable color schemes and fonts. Even Windows 3 was highly configurable. That configurability went away with the rise of the web and the death of native GUIs, to the point that Microsoft didn't even bother making the native toolkit configurable at all in Aero.

We could tune up our own universally applied dark mode in 95 quite simply, but now each application has to implement that itself.

Re: Revery – Native, high-performance, cross-platform desktop apps

#128

Earlier quoted context omitted.

I've much more will to learn ReasonML than Typescript.

I keep considering it myself. I've done some things with OCaml, so I doubt the learning curve would kill me. I am a little dismayed that it's still a client side only language. (there are efforts to bring it to Node)

if you know OCaml then you have no reason to learn ReasonML. They are basically the same language with different syntax

Re: Revery – Native, high-performance, cross-platform desktop apps

#129
post #19

Earlier quoted context omitted.

Of course that's a choice for everyone to make, but I feel like in general the benefit of fitting in the platform is overrated. After all the whole webapp-everything somewhat shows that people don't care that much, they are happy to use GMail for example. Another family of examples would be the big software packages like the Adobe or Autodesk stuff, they tend to have a fairly custom look&feel. IMO it's probably suffi…

> Of course that's a choice for everyone to make, but I feel like in general the benefit of fitting in the platform is overrated. I disagree; the benefit isn't overrated, it's underrated because it's not realized, thanks to most apps doing their best to _not_ fit in the platform. What full platform fit enables is consistent UX and interoperability . Lack of the latter places an actual cap of what users can do (except…

It would be great to provide platform specific implementations for projects! However if you’re a one/small developer shop, it’s just impractical to target all available platforms.

We’re in a world where there are a large number of platforms asking for support, and I just don’t have time for that. If I’m able to support a single app for all, that’s a major win.

Post reply on HN