Its a WIP
Show HN: Yue – A new library to create cross-platform GUI apps
101–106 of 106 posts
Re: Show HN: Yue – A new library to create cross-platform GUI apps
#102Hi everyone, I have written a C++ library for creating native GUI apps, it also has language bindings for Lua and JavaScript (V8). In the past I have written the Electron framework, which is a popular project for creating desktop apps with Chrome web engine and Node.js, while this library allows you to create native desktop apps. If you want to see some screenshots and example code, check out the sample apps repo: ht…
I see no details at all about how this library is different [or not]. While not an UI expert, I have some low-level experience with gtk, qt, appkit and uikit, vcl, immediate ui, and full manual drawing / event processing. When considering new ui framework, these questions are of high priority: how does it integrate with, or supports for, existing custom run loop; what layout system is used and which problems it elegantly solves (i18n, baselining, excessive boxing, complex constraint cases); how does it implement repeating cell rendering and caching, if any; what are base classes and how metamechanics like scrolling/resize/animation/state cues are distributed across these; how does ui state interact with controlling entity and vice versa; which non-ui mid-controllers exist to reduce or abstract out basic boilerplating. Without these details, it is yet another "throw edits, buttons and labels to fixed form and call it a day framework" at most. UI is usually hard because of internals and extension, not because it lacks fixed functionality. Web is partly so popular because it feels like everything is possible from the styled box primitive (but has its obvious downsides; like a 100mb complex c++ rendering engine that only few groups in the world can implement correctly and somewhat effectively on latest i7). Without all this and many more, there is nothing to reason about — ui is not a yesterday's demand, and regular cases are covered by virtually any mature library. Drawing static hearts with beziers is not a big deal.
Tbh, I'm highly doubting any of listed topics can be designed in just one version step, because even most decent frameworks have so many hidden flaws that require insane efforts to overcome under specific requirements.
It would be great to see how it is actually better, e.g. by comparing side-by-side examples of solving normal-to-hard ui tasks in different libraries.
Re: Show HN: Yue – A new library to create cross-platform GUI apps
#103Earlier quoted context omitted.
Why not? If you want to modify the source, just do it in a manner that you can commit back to the repo.
I take you haven't read whats under the title contributions https://github.com/yue/yue/tree/fb08ff884c6f9b7fb7a767dde937...
Re: Show HN: Yue – A new library to create cross-platform GUI apps
#104Earlier quoted context omitted.
> The author is trying to sell a freemium product, its a gift insofar as Dropbox's 2 gigs are a gift. In other words, it is a gift. You get something useful for nothing. As for the other point, I agree that the author should use more business friendly tactics if he wishes to sell his services better, but that was not the point. The original complaint was that his approach is somewhat offensive. Which I didn't agree w…
No, the point made was that the author was unnecessarily aggressive. That does not imply that the author was not genuine. The attitude of the author is definitely relevant to whether the library can and should be relied upon for inclusion in a project. Personally, this is a non-starter if I can pick up such a hostile, anti-community tone in a two minute review. Examples: > You can ask any question about Yue in the Is…
I think "I'm an engineer, to save time let's just assume I'm always right" is the maximum size for a T-shirt joke.
Re: Show HN: Yue – A new library to create cross-platform GUI apps
#105Hi, You're using large parts of WebKit source code (LGPL) in your proprietary library. This is against the license. Please compare: https://github.com/yue/yue/blob/master/nativeui/gfx/gtk/pain... https://github.com/WebKit/webkit/blob/master/Source/WebCore/...
Wow, that's very bad. Created an issue for this to prevent anyone else using it. Let's see how the author will respond. https://github.com/yue/help/issues/4
Re: Show HN: Yue – A new library to create cross-platform GUI apps
#106Earlier quoted context omitted.
Interesting, what advantages this gives, maybe better skinning/theming support? But that doesn't seem to be the main goal of this framework...
I think it's easier to port your own drawing code from platform to platform. That's probably why Firefox and Chrome can be multi platform because their rendering code is the same. Doing a cross platform UI library that uses native controls seems a lot of work.