{"action":"created","issue":{"url":"https://api.github.com/repos/vendethiel/smallstack/issues/13","repository_url":"https://api.github.com/repos/vendethiel/smallstack","labels_url":"https://api.github.com/repos/vendethiel/smallstack/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/vendethiel/smallstack/issues/13/comments","events_url":"https://api.github.com/repos/vendethiel/smallstack/issues/13/events","html_url":"https://github.com/vendethiel/smallstack/issues/13","id":172291187,"number":13,"title":"how 2 objects","user":{"login":"vendethiel","id":199499,"avatar_url":"https://avatars.githubusercontent.com/u/199499?v=3","gravatar_id":"","url":"https://api.github.com/users/vendethiel","html_url":"https://github.com/vendethiel","followers_url":"https://api.github.com/users/vendethiel/followers","following_url":"https://api.github.com/users/vendethiel/following{/other_user}","gists_url":"https://api.github.com/users/vendethiel/gists{/gist_id}","starred_url":"https://api.github.com/users/vendethiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vendethiel/subscriptions","organizations_url":"https://api.github.com/users/vendethiel/orgs","repos_url":"https://api.github.com/users/vendethiel/repos","events_url":"https://api.github.com/users/vendethiel/events{/privacy}","received_events_url":"https://api.github.com/users/vendethiel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vendethiel/smallstack/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/vendethiel/smallstack/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-20T21:14:17Z","updated_at":"2016-09-30T20:26:13Z","closed_at":null,"body":"smallstack Will Have A GC™.\r\n\r\nneed to devise instructions for all this.\r\n\r\nPoint by point \"what's on my mind\".\r\n - Currently the stack has the actual values. What I'm envisioning right now (and I know nothing about how GCs work).\r\n - I need to read papers about GCs. I know of a few I could read.\r\n - The stack will instead contain references to objects\r\n - Same thing for locals probably?\r\n - How the fuck do we do liveliness tracking??\r\n - Whenever I say \"stack\", that includes the argument stack.\r\n - We can't just clear locals once we're done, because of how they could leak\r\n - Doing escape analysis is not a project for this decade\r\n - I guess the liveliness analysis could deeply(inside structures) and recursively (upper calls) traverse stack / locals, and see which objects are still referenced.\r\n - This actually makes some sense...\r\n - It might even work.\r\n - However... Right know `call`s are implemented as an actually recursive Rust function call.\r\n - So when I said \"traverse stack/locals recursively\" it'd mean find a way to know what are the stack and the locals.\r\n - It doesn't seem that bad, I guess the stack could be a struct that includes a link to its parent.\r\n - This sounds actually rather easy, because we needn't fight Rust's borrow checker – the parent stack/locals will always outlive the one we're creating for the recursive callee."},"comment":{"url":"https://api.github.com/repos/vendethiel/smallstack/issues/comments/250843973","html_url":"https://github.com/vendethiel/smallstack/issues/13#issuecomment-250843973","issue_url":"https://api.github.com/repos/vendethiel/smallstack/issues/13","id":250843973,"user":{"login":"a3gis","id":541045,"avatar_url":"https://avatars.githubusercontent.com/u/541045?v=3","gravatar_id":"","url":"https://api.github.com/users/a3gis","html_url":"https://github.com/a3gis","followers_url":"https://api.github.com/users/a3gis/followers","following_url":"https://api.github.com/users/a3gis/following{/other_user}","gists_url":"https://api.github.com/users/a3gis/gists{/gist_id}","starred_url":"https://api.github.com/users/a3gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a3gis/subscriptions","organizations_url":"https://api.github.com/users/a3gis/orgs","repos_url":"https://api.github.com/users/a3gis/repos","events_url":"https://api.github.com/users/a3gis/events{/privacy}","received_events_url":"https://api.github.com/users/a3gis/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T20:26:13Z","updated_at":"2016-09-30T20:26:13Z","body":"Do you have a few good papers / blog posts on implementing the simplest GC in the world?"}}
{"actor":{"display_login":"a3gis"}}