{"action":"created","comment":{"url":"https://api.github.com/repos/WebAssembly/gc/pulls/comments/110913817","pull_request_review_id":32118483,"id":110913817,"diff_hunk":"@@ -1 +1,716 @@\n+# GC Extension\n+\n+## Introduction\n+\n+### Motivation\n+\n+* Efficient support for high-level languages\n+  - faster execution\n+  - smaller deliverables\n+  - the vast majority of modern languages need it\n+\n+* Efficient interoperability with embedder heap\n+  - for example, DOM objects on the web\n+  - no space leaks from mapping bidirectional tables\n+\n+* Provide access to industrial-strength GCs\n+  - at least on the web, VMs already have high performance GCs\n+\n+* Non-goal: seamless interoperability between multiple languages\n+\n+\n+### Challenges\n+\n+* Fast but type-safe\n+* Lean but sufficiently universal\n+* Language-independent\n+* Trade-off triangle between simplicity, expressiveness and performance\n+* Interaction with threads\n+\n+\n+### Approach\n+\n+* Only basic but general structure: tuples (structs) and arrays.\n+* No heavyweight object model.\n+* Accept minimal amount of dynamic overhead (checked casts) as price for simplicity/universality.","path":"proposals/gc/Overview.md","position":35,"original_position":35,"commit_id":"88a317e665307645721edafe8ed90ab110537058","original_commit_id":"d48dbfbdb7abd757a86936927f2dcc98ce9d947e","user":{"login":"rossberg-chromium","id":4247099,"avatar_url":"https://avatars3.githubusercontent.com/u/4247099?v=3","gravatar_id":"","url":"https://api.github.com/users/rossberg-chromium","html_url":"https://github.com/rossberg-chromium","followers_url":"https://api.github.com/users/rossberg-chromium/followers","following_url":"https://api.github.com/users/rossberg-chromium/following{/other_user}","gists_url":"https://api.github.com/users/rossberg-chromium/gists{/gist_id}","starred_url":"https://api.github.com/users/rossberg-chromium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossberg-chromium/subscriptions","organizations_url":"https://api.github.com/users/rossberg-chromium/orgs","repos_url":"https://api.github.com/users/rossberg-chromium/repos","events_url":"https://api.github.com/users/rossberg-chromium/events{/privacy}","received_events_url":"https://api.github.com/users/rossberg-chromium/received_events","type":"User","site_admin":false},"body":"Right. Added as comment to the pay-as-you-go bullet","created_at":"2017-04-11T14:16:37Z","updated_at":"2017-04-11T14:18:41Z","html_url":"https://github.com/WebAssembly/gc/pull/1#discussion_r110913817","pull_request_url":"https://api.github.com/repos/WebAssembly/gc/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/WebAssembly/gc/pulls/comments/110913817"},"html":{"href":"https://github.com/WebAssembly/gc/pull/1#discussion_r110913817"},"pull_request":{"href":"https://api.github.com/repos/WebAssembly/gc/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/WebAssembly/gc/pulls/1","id":115145663,"html_url":"https://github.com/WebAssembly/gc/pull/1","diff_url":"https://github.com/WebAssembly/gc/pull/1.diff","patch_url":"https://github.com/WebAssembly/gc/pull/1.patch","issue_url":"https://api.github.com/repos/WebAssembly/gc/issues/1","number":1,"state":"open","locked":false,"title":"Initial overview","user":{"login":"rossberg-chromium","id":4247099,"avatar_url":"https://avatars3.githubusercontent.com/u/4247099?v=3","gravatar_id":"","url":"https://api.github.com/users/rossberg-chromium","html_url":"https://github.com/rossberg-chromium","followers_url":"https://api.github.com/users/rossberg-chromium/followers","following_url":"https://api.github.com/users/rossberg-chromium/following{/other_user}","gists_url":"https://api.github.com/users/rossberg-chromium/gists{/gist_id}","starred_url":"https://api.github.com/users/rossberg-chromium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossberg-chromium/subscriptions","organizations_url":"https://api.github.com/users/rossberg-chromium/orgs","repos_url":"https://api.github.com/users/rossberg-chromium/repos","events_url":"https://api.github.com/users/rossberg-chromium/events{/privacy}","received_events_url":"https://api.github.com/users/rossberg-chromium/received_events","type":"User","site_admin":false},"body":"This is a brain dump capturing various previous discussions and some of my notes. Lots more to be said and discussed, obviously, but we have to start somewhere.","created_at":"2017-04-10T16:55:55Z","updated_at":"2017-04-11T14:18:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"442631c527e610a62ad5c4fd8537384a8706f935","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/WebAssembly/gc/pulls/1/commits","review_comments_url":"https://api.github.com/repos/WebAssembly/gc/pulls/1/comments","review_comment_url":"https://api.github.com/repos/WebAssembly/gc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WebAssembly/gc/issues/1/comments","statuses_url":"https://api.github.com/repos/WebAssembly/gc/statuses/88a317e665307645721edafe8ed90ab110537058","head":{"label":"WebAssembly:gc-overview","ref":"gc-overview","sha":"88a317e665307645721edafe8ed90ab110537058","user":{"login":"WebAssembly","id":11578470,"avatar_url":"https://avatars3.githubusercontent.com/u/11578470?v=3","gravatar_id":"","url":"https://api.github.com/users/WebAssembly","html_url":"https://github.com/WebAssembly","followers_url":"https://api.github.com/users/WebAssembly/followers","following_url":"https://api.github.com/users/WebAssembly/following{/other_user}","gists_url":"https://api.github.com/users/WebAssembly/gists{/gist_id}","starred_url":"https://api.github.com/users/WebAssembly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebAssembly/subscriptions","organizations_url":"https://api.github.com/users/WebAssembly/orgs","repos_url":"https://api.github.com/users/WebAssembly/repos","events_url":"https://api.github.com/users/WebAssembly/events{/privacy}","received_events_url":"https://api.github.com/users/WebAssembly/received_events","type":"Organization","site_admin":false},"repo":{"id":87563033,"name":"gc","full_name":"WebAssembly/gc","owner":{"login":"WebAssembly","id":11578470,"avatar_url":"https://avatars3.githubusercontent.com/u/11578470?v=3","gravatar_id":"","url":"https://api.github.com/users/WebAssembly","html_url":"https://github.com/WebAssembly","followers_url":"https://api.github.com/users/WebAssembly/followers","following_url":"https://api.github.com/users/WebAssembly/following{/other_user}","gists_url":"https://api.github.com/users/WebAssembly/gists{/gist_id}","starred_url":"https://api.github.com/users/WebAssembly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebAssembly/subscriptions","organizations_url":"https://api.github.com/users/WebAssembly/orgs","repos_url":"https://api.github.com/users/WebAssembly/repos","events_url":"https://api.github.com/users/WebAssembly/events{/privacy}","received_events_url":"https://api.github.com/users/WebAssembly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WebAssembly/gc","description":"Branch of the spec repo scoped to discussion of GC integration in WebAssembly","fork":false,"url":"https://api.github.com/repos/WebAssembly/gc","forks_url":"https://api.github.com/repos/WebAssembly/gc/forks","keys_url":"https://api.github.com/repos/WebAssembly/gc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WebAssembly/gc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WebAssembly/gc/teams","hooks_url":"https://api.github.com/repos/WebAssembly/gc/hooks","issue_events_url":"https://api.github.com/repos/WebAssembly/gc/issues/events{/number}","events_url":"https://api.github.com/repos/WebAssembly/gc/events","assignees_url":"https://api.github.com/repos/WebAssembly/gc/assignees{/user}","branches_url":"https://api.github.com/repos/WebAssembly/gc/branches{/branch}","tags_url":"https://api.github.com/repos/WebAssembly/gc/tags","blobs_url":"https://api.github.com/repos/WebAssembly/gc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WebAssembly/gc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WebAssembly/gc/git/refs{/sha}","trees_url":"https://api.github.com/repos/WebAssembly/gc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WebAssembly/gc/statuses/{sha}","languages_url":"https://api.github.com/repos/WebAssembly/gc/languages","stargazers_url":"https://api.github.com/repos/WebAssembly/gc/stargazers","contributors_url":"https://api.github.com/repos/WebAssembly/gc/contributors","subscribers_url":"https://api.github.com/repos/WebAssembly/gc/subscribers","subscription_url":"https://api.github.com/repos/WebAssembly/gc/subscription","commits_url":"https://api.github.com/repos/WebAssembly/gc/commits{/sha}","git_commits_url":"https://api.github.com/repos/WebAssembly/gc/git/commits{/sha}","comments_url":"https://api.github.com/repos/WebAssembly/gc/comments{/number}","issue_comment_url":"https://api.github.com/repos/WebAssembly/gc/issues/comments{/number}","contents_url":"https://api.github.com/repos/WebAssembly/gc/contents/{+path}","compare_url":"https://api.github.com/repos/WebAssembly/gc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WebAssembly/gc/merges","archive_url":"https://api.github.com/repos/WebAssembly/gc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WebAssembly/gc/downloads","issues_url":"https://api.github.com/repos/WebAssembly/gc/issues{/number}","pulls_url":"https://api.github.com/repos/WebAssembly/gc/pulls{/number}","milestones_url":"https://api.github.com/repos/WebAssembly/gc/milestones{/number}","notifications_url":"https://api.github.com/repos/WebAssembly/gc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WebAssembly/gc/labels{/name}","releases_url":"https://api.github.com/repos/WebAssembly/gc/releases{/id}","deployments_url":"https://api.github.com/repos/WebAssembly/gc/deployments","created_at":"2017-04-07T15:54:48Z","updated_at":"2017-04-11T11:21:54Z","pushed_at":"2017-04-11T14:15:36Z","git_url":"git://github.com/WebAssembly/gc.git","ssh_url":"git@github.com:WebAssembly/gc.git","clone_url":"https://github.com/WebAssembly/gc.git","svn_url":"https://github.com/WebAssembly/gc","homepage":null,"size":4719,"stargazers_count":6,"watchers_count":6,"language":"OCaml","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":6,"default_branch":"master"}},"base":{"label":"WebAssembly:master","ref":"master","sha":"6e5142d19f362ca735ecd548743df70f461b086c","user":{"login":"WebAssembly","id":11578470,"avatar_url":"https://avatars3.githubusercontent.com/u/11578470?v=3","gravatar_id":"","url":"https://api.github.com/users/WebAssembly","html_url":"https://github.com/WebAssembly","followers_url":"https://api.github.com/users/WebAssembly/followers","following_url":"https://api.github.com/users/WebAssembly/following{/other_user}","gists_url":"https://api.github.com/users/WebAssembly/gists{/gist_id}","starred_url":"https://api.github.com/users/WebAssembly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebAssembly/subscriptions","organizations_url":"https://api.github.com/users/WebAssembly/orgs","repos_url":"https://api.github.com/users/WebAssembly/repos","events_url":"https://api.github.com/users/WebAssembly/events{/privacy}","received_events_url":"https://api.github.com/users/WebAssembly/received_events","type":"Organization","site_admin":false},"repo":{"id":87563033,"name":"gc","full_name":"WebAssembly/gc","owner":{"login":"WebAssembly","id":11578470,"avatar_url":"https://avatars3.githubusercontent.com/u/11578470?v=3","gravatar_id":"","url":"https://api.github.com/users/WebAssembly","html_url":"https://github.com/WebAssembly","followers_url":"https://api.github.com/users/WebAssembly/followers","following_url":"https://api.github.com/users/WebAssembly/following{/other_user}","gists_url":"https://api.github.com/users/WebAssembly/gists{/gist_id}","starred_url":"https://api.github.com/users/WebAssembly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebAssembly/subscriptions","organizations_url":"https://api.github.com/users/WebAssembly/orgs","repos_url":"https://api.github.com/users/WebAssembly/repos","events_url":"https://api.github.com/users/WebAssembly/events{/privacy}","received_events_url":"https://api.github.com/users/WebAssembly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WebAssembly/gc","description":"Branch of the spec repo scoped to discussion of GC integration in WebAssembly","fork":false,"url":"https://api.github.com/repos/WebAssembly/gc","forks_url":"https://api.github.com/repos/WebAssembly/gc/forks","keys_url":"https://api.github.com/repos/WebAssembly/gc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WebAssembly/gc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WebAssembly/gc/teams","hooks_url":"https://api.github.com/repos/WebAssembly/gc/hooks","issue_events_url":"https://api.github.com/repos/WebAssembly/gc/issues/events{/number}","events_url":"https://api.github.com/repos/WebAssembly/gc/events","assignees_url":"https://api.github.com/repos/WebAssembly/gc/assignees{/user}","branches_url":"https://api.github.com/repos/WebAssembly/gc/branches{/branch}","tags_url":"https://api.github.com/repos/WebAssembly/gc/tags","blobs_url":"https://api.github.com/repos/WebAssembly/gc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WebAssembly/gc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WebAssembly/gc/git/refs{/sha}","trees_url":"https://api.github.com/repos/WebAssembly/gc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WebAssembly/gc/statuses/{sha}","languages_url":"https://api.github.com/repos/WebAssembly/gc/languages","stargazers_url":"https://api.github.com/repos/WebAssembly/gc/stargazers","contributors_url":"https://api.github.com/repos/WebAssembly/gc/contributors","subscribers_url":"https://api.github.com/repos/WebAssembly/gc/subscribers","subscription_url":"https://api.github.com/repos/WebAssembly/gc/subscription","commits_url":"https://api.github.com/repos/WebAssembly/gc/commits{/sha}","git_commits_url":"https://api.github.com/repos/WebAssembly/gc/git/commits{/sha}","comments_url":"https://api.github.com/repos/WebAssembly/gc/comments{/number}","issue_comment_url":"https://api.github.com/repos/WebAssembly/gc/issues/comments{/number}","contents_url":"https://api.github.com/repos/WebAssembly/gc/contents/{+path}","compare_url":"https://api.github.com/repos/WebAssembly/gc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WebAssembly/gc/merges","archive_url":"https://api.github.com/repos/WebAssembly/gc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WebAssembly/gc/downloads","issues_url":"https://api.github.com/repos/WebAssembly/gc/issues{/number}","pulls_url":"https://api.github.com/repos/WebAssembly/gc/pulls{/number}","milestones_url":"https://api.github.com/repos/WebAssembly/gc/milestones{/number}","notifications_url":"https://api.github.com/repos/WebAssembly/gc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WebAssembly/gc/labels{/name}","releases_url":"https://api.github.com/repos/WebAssembly/gc/releases{/id}","deployments_url":"https://api.github.com/repos/WebAssembly/gc/deployments","created_at":"2017-04-07T15:54:48Z","updated_at":"2017-04-11T11:21:54Z","pushed_at":"2017-04-11T14:15:36Z","git_url":"git://github.com/WebAssembly/gc.git","ssh_url":"git@github.com:WebAssembly/gc.git","clone_url":"https://github.com/WebAssembly/gc.git","svn_url":"https://github.com/WebAssembly/gc","homepage":null,"size":4719,"stargazers_count":6,"watchers_count":6,"language":"OCaml","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WebAssembly/gc/pulls/1"},"html":{"href":"https://github.com/WebAssembly/gc/pull/1"},"issue":{"href":"https://api.github.com/repos/WebAssembly/gc/issues/1"},"comments":{"href":"https://api.github.com/repos/WebAssembly/gc/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/WebAssembly/gc/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/WebAssembly/gc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WebAssembly/gc/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/WebAssembly/gc/statuses/88a317e665307645721edafe8ed90ab110537058"}}}}
{"actor":{"display_login":"rossberg-chromium"}}