-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate which graphics library to use #1
Comments
There is wxWidgets, a newer alternative to GTK and QT, which is described in their FAQ as follows:
There's also a Rust binding for it. Since none of those three are Rust, and they do appear to be the range of choices (since Conrod is not much better than Glium, for our purpose here, of serious development), then I'd give wxWidgets a look. For the student, seeing this as both an opportunity to learn and a career/business development, it comes down to QT or, perhaps, wxWidgets because of their wider applicability than GTK. |
I think that in practice, wxWidgets is quite ugly (Audacity). Qt is great, but the Rust bindings are not there. If we used the rendering capabilities of a said library, how much code could actually be re-used? It may be just |
@potocpav wxWidgets uses GTK+ controls under the hood (on linux), I'm pretty sure it can be themed too. The latest xi_gilum using GTK3 is bugged on Windows btw. |
@DemonOne OK, I will play with wxWidgets, maybe create a branch if I get the bindings working in a reasonable way. About the Windows support, GTK3 needs Cairo, GTK+ and GLib on the system, so that might be the problem. |
@potocpav I had to get the entire GTK3 runtime for win32 before I could even build xi_gilum (a little less than 300MB). |
What does servo use? |
It might be that a pure rust implementation is Linux only until one of the GUI libraries matures. |
Servo uses azure / gleam for webrender (raw OpenGL). GTK should be an optional feature for now, since it is so much hassle on Windows. |
libui could be a possibility. There are some old Rust bindings too |
https://github.com/cyndis/qmlrs is nice but not active. |
Currently, glium is used. This is not necessarily a good choice. If we are going to switch, we should do it sooner rather than later. Points to consider:
The text was updated successfully, but these errors were encountered: