3 ms·
This work is the extension of the Go on mobile experiment for Android, which was originally proposed here: http://golang.org/s/go14android http://golang.org/s/g
by crawshaw 11y ago
This work is the extension of the Go on mobile experiment for Android, which was originally proposed here: http://golang.org/s/go14android http://golang.org/s/go14android.
Over the past several months, several open source contributors (most notably minux) and I have been working on darwin/arm and darwin/arm64 support for Go 1.5. We can build binaries, and we can build Go packages as C archives that can be compiled into an ObjC program.
At the same time Hana has been extending gobind (http://golang.org/s/gobind http://golang.org/s/gobind) with ObjC support, and came up with the idea of turning Rob's Ivy into an app. Hana built the Android app, I did the iOS app.
This is a few hundred lines of ObjC/UIKit for the UI, calling into a Go function:
func Exec(line string) (string, error)
With the bulk of the app being the actual Ivy implementation in Go.
It will be open source when I find the hours in the next week.
- fit2rule 11y agoJust wanted to thank you and acknowledge your work - Go on iOS represents a significant opportunity. Thanks!