News for hackers. Stuff that matters.
Re:Go 1.1 Function Calls by safetydank on Tuesday October 01, 2013 @09:08PM (#6480034)
Ios disallows dynamic code generation at runtime - what other environments could Go target with these restrictions?
Re:Go 1.1 Function Calls by saurik on Tuesday October 01, 2013 @11:29PM (#6480432)
iOS actually doesn't have a restriction as strict as this: you can take a page of memory and map it again without issue. This is the technique used by imp_implementationWithBlock, and current versions of libffi can generate closures based on the technique.

http://landonf.bikemonkey.org/2011/04/index.html

Re:Go 1.1 Function Calls by twotwotwo on Tuesday October 01, 2013 @09:19PM (#6480067)
RSC's saying that 1.1's new calling convention removed the need for dynamic code generation.
Re:Go 1.1 Function Calls by mortdeus on Tuesday October 01, 2013 @09:24PM (#6480082)
Native Client, Android, ummm, pretty much any environment that is encapsulated in a sandbox.
Re:Go 1.1 Function Calls by safetydank on Tuesday October 01, 2013 @09:29PM (#6480098)
Ah yes, Native Client. I assume Android allows it since it runs V8.
Re:Go 1.1 Function Calls by mortdeus on Tuesday October 01, 2013 @11:08PM (#6480384)
I guess Android has a different kind of sandbox than most typical software fault isolation based sandboxes (e.g. NaCl).

Its more reminiscent of plan9's per process namespaces than anything else. http://plan9.bell-labs.com/sys/doc/names.html

Regardless, the main issue that was preventing Go from running on Android was the linker's inability to link go pkgs as a shared library. Fortunately support for external linking on ARM is scheduled to land in the go1.2 release.

http://tip.golang.org/doc/go1.2#gc_changes

When it comes to go support for NaCl, llgo is imho the most promising solution for that. http://github.com/axw/llgo

Re:Go 1.1 Function Calls by malkia on Tuesday October 01, 2013 @10:11PM (#6480213)
I think Windows 8.0 or 8.1 Store application do not allow it.