~eliasnaur/gio/faq

Table of Contents

This commit

commit 4089b6f8c7cda3a2f86f770a15b15c1af9c643d8
Author: Elias Naur <mail@eliasnaur.com>
Date:   2019-08-14T08:57:09+00:00

install.md: add note about -H windowsgui for avoiding the Windows console

Signed-off-by: Elias Naur <mail@eliasnaur.com>
Clone this wiki
https://git.sr.ht/~eliasnaur/gio (read-only) git@git.sr.ht:~eliasnaur/gio (read/write)

What is the difference between Gio and Gomobile?

Go Mobile produces either standalone programs (gomobile build) or libraries suitable for calling from Java or Objective-C/Swift (gomobile bind).

gomobile build is similar to using the gioui.org/ui/app package and the gioui.org/cmd/gio tool to produce an Android or iOS app. The difference is the abstraction level: gomobile build programs have access to a raw OpenGL ES context while the Gio app package exposes a higher level drawing interface. Gomobile programs also don't have any GUI packages available.

gomobile bind exports a set of Go packages for convenient access from Java or Objective-C/Swift code. There is no counterpart in Gio, and could be used for interfacing with native code from Gio programs.