{"action":"created","issue":{"url":"https://api.github.com/repos/WebAssembly/design/issues/882","repository_url":"https://api.github.com/repos/WebAssembly/design","labels_url":"https://api.github.com/repos/WebAssembly/design/issues/882/labels{/name}","comments_url":"https://api.github.com/repos/WebAssembly/design/issues/882/comments","events_url":"https://api.github.com/repos/WebAssembly/design/issues/882/events","html_url":"https://github.com/WebAssembly/design/issues/882","id":192148098,"number":882,"title":"Explicit count for each kind of import","user":{"login":"binji","id":1245315,"avatar_url":"https://avatars.githubusercontent.com/u/1245315?v=3","gravatar_id":"","url":"https://api.github.com/users/binji","html_url":"https://github.com/binji","followers_url":"https://api.github.com/users/binji/followers","following_url":"https://api.github.com/users/binji/following{/other_user}","gists_url":"https://api.github.com/users/binji/gists{/gist_id}","starred_url":"https://api.github.com/users/binji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binji/subscriptions","organizations_url":"https://api.github.com/users/binji/orgs","repos_url":"https://api.github.com/users/binji/repos","events_url":"https://api.github.com/users/binji/events{/privacy}","received_events_url":"https://api.github.com/users/binji/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-28T23:39:06Z","updated_at":"2016-11-29T16:53:09Z","closed_at":null,"body":"@sbc100 were discussing object linking today (see https://github.com/WebAssembly/tool-conventions/blob/master/Linking.md).\r\n\r\nFor a fast linker, you'll want to parse as little as possible, and rely on the relocations to fix indexing. But it seems as though parsing the import section is necessary, as you can't know without parsing how many of each kind of import there are, and you'll need to know this number to fix up references.\r\n\r\nOne simple fix would be to include the count of each import kind in the section header. OTOH, the import section is likely to be small, so maybe this is not worth doing. Thoughts?"},"comment":{"url":"https://api.github.com/repos/WebAssembly/design/issues/comments/263628229","html_url":"https://github.com/WebAssembly/design/issues/882#issuecomment-263628229","issue_url":"https://api.github.com/repos/WebAssembly/design/issues/882","id":263628229,"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":"2016-11-29T16:53:09Z","updated_at":"2016-11-29T16:53:09Z","body":"Oh, *static* linker.  Wouldn't such a linker also though need to decode the entire imports/exports section (to get all the names to link)?"}}
{"actor":{"display_login":"lukewagner"}}