{"action":"created","issue":{"url":"https://api.github.com/repos/WebAssembly/spec/issues/8","labels_url":"https://api.github.com/repos/WebAssembly/spec/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/WebAssembly/spec/issues/8/comments","events_url":"https://api.github.com/repos/WebAssembly/spec/issues/8/events","html_url":"https://github.com/WebAssembly/spec/issues/8","id":101510580,"number":8,"title":"separate index space for parameters/locals?","user":{"login":"lukewagner","id":9660325,"avatar_url":"https://avatars.githubusercontent.com/u/9660325?v=3","gravatar_id":"","url":"https://api.github.com/users/lukewagner","html_url":"https://github.com/lukewagner","followers_url":"https://api.github.com/users/lukewagner/followers","following_url":"https://api.github.com/users/lukewagner/following{/other_user}","gists_url":"https://api.github.com/users/lukewagner/gists{/gist_id}","starred_url":"https://api.github.com/users/lukewagner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukewagner/subscriptions","organizations_url":"https://api.github.com/users/lukewagner/orgs","repos_url":"https://api.github.com/users/lukewagner/repos","events_url":"https://api.github.com/users/lukewagner/events{/privacy}","received_events_url":"https://api.github.com/users/lukewagner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-17T21:11:20Z","updated_at":"2015-08-17T21:11:35Z","closed_at":null,"body":"A recent [commit](https://github.com/WebAssembly/spec/commit/b223cafeddc2b903d91f6d01146fffb4e9579d48) separated out parameters from locals, giving the two overlapping index spaces.  This is fairly different than what's in the design repo ([only locals](https://github.com/WebAssembly/design/blob/master/AstSemantics.md#local-variables)) but not a huge fundamental design difference (both work), so I thought we should discuss it here."},"comment":{"url":"https://api.github.com/repos/WebAssembly/spec/issues/comments/131962110","html_url":"https://github.com/WebAssembly/spec/issues/8#issuecomment-131962110","issue_url":"https://api.github.com/repos/WebAssembly/spec/issues/8","id":131962110,"user":{"login":"lukewagner","id":9660325,"avatar_url":"https://avatars.githubusercontent.com/u/9660325?v=3","gravatar_id":"","url":"https://api.github.com/users/lukewagner","html_url":"https://github.com/lukewagner","followers_url":"https://api.github.com/users/lukewagner/followers","following_url":"https://api.github.com/users/lukewagner/following{/other_user}","gists_url":"https://api.github.com/users/lukewagner/gists{/gist_id}","starred_url":"https://api.github.com/users/lukewagner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukewagner/subscriptions","organizations_url":"https://api.github.com/users/lukewagner/orgs","repos_url":"https://api.github.com/users/lukewagner/repos","events_url":"https://api.github.com/users/lukewagner/events{/privacy}","received_events_url":"https://api.github.com/users/lukewagner/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T21:11:34Z","updated_at":"2015-08-17T21:11:34Z","body":"My opinion is that it's simpler to have one index space (shared by paramters/locals) and one set of ops for reading/writing since, other than how they are initialized, locals/params aren't different.  There may also be a size win from having less ops competing for the 1-byte space (which normally I wouldn't attempt to argue, but local access is ~40% of bytes in polyfill-prototype-1 output, so the difference might \"show through\" even with layer 1/2 compression)."}}