Can you elaborate on this project's status?
cgo still isn't supported, but i have finished all runtime/cgo parts so the only remaining part
is write (or port) Mach-O support in cmd/5l.
due to the lack of cgo support, one can only use the port to write command line
programs on iOS.
Does it require a jail-broken iDevice? Now that we have the new func representation without a writable executable heap, is cgo the last remaining hurdle before Go can run on unmodified iDevices?
After we switched to non-executable, running Go binary on non-jailbroken devices is
possible, but because it can't register itself with the monitor, it will killed after a few
seconds.
After cgo is supported, and with a proper objc bridge, we can lift the last restriction.
And then, once it can run on an unrooted device (so we can have a builder), I assume you'll start sending patches?
yeah, i hope so. I still need to figure out how to best run the builder.
because the easiest and most effective way to run the builder is still jailbreak the device
and run it natively,
it's possible (after we're certain the port is usable on non-jailbroken devices) to run the
builder with a jailbroken idevice (or in an emulator)?
of course, if it's not acceptable, we can transparently solve this using linux's binfmt_misc
mechanism, provided we can set up a proper iOS toolchain on Linux (i already have
working ios gcc on linux, but i'm not sure if we can have proper code signing tool on
linux too).