fyne-io / fyne

Cross platform GUI toolkit in Go inspired by Material Design
https://fyne.io/
Other
24.64k stars 1.37k forks source link

Question: Skia / (GLFW)OpenGL #2400

Closed renlite closed 3 years ago

renlite commented 3 years ago

What are the reasons for using GLFW and not Skia (like Flutter or AvaloniaUI) for rendering?

andydotxyz commented 3 years ago

GLFW is not used for rendering, it is for opening the GL context and handling window management and events. So maybe your question is why use OpenGL instead of skia - basically because it supports more and older devices, and it is an industry standard.

renlite commented 3 years ago

I thought Skia is also a wrapper and can use GL as backend.

Does it mean? a) Later you can switch to eg Vulkan or support another renderer. b) On mobile you needn't embed GL to the app (eg APK), what Flutter must do with Skia.

Why did you choose "Go" for this project compared with other compiled languages like Rust, Vim, Zig or D.

andydotxyz commented 3 years ago

Go is an excellent language for building graphical apps - the combination of type safety, modern language features and a fantastic community makes it hard to beat. I wrote a book that covers this and explores the toolkits available (it is a few https://www.packtpub.com/product/hands-on-gui-application-development-in-go/9781789138412

This issue tracker is to manage the development of our platform and track issues, if you want to talk more please use one of our support channels - https://fyne.io/support/ or https://fyne.io/#contact.