{"action":"created","issue":{"url":"https://api.github.com/repos/WebAssembly/design/issues/285","labels_url":"https://api.github.com/repos/WebAssembly/design/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/WebAssembly/design/issues/285/comments","events_url":"https://api.github.com/repos/WebAssembly/design/issues/285/events","html_url":"https://github.com/WebAssembly/design/pull/285","id":97806308,"number":285,"title":"Remove sbrk from MVP, add mmap&friends to AstSemantics","user":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-07-28T21:32:39Z","updated_at":"2015-07-29T19:49:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/WebAssembly/design/pulls/285","html_url":"https://github.com/WebAssembly/design/pull/285","diff_url":"https://github.com/WebAssembly/design/pull/285.diff","patch_url":"https://github.com/WebAssembly/design/pull/285.patch"},"body":"Based on discussion in #227. \r\n\r\nI didn't know how to call the `sysconf`-like method... ideas are welcome."},"comment":{"url":"https://api.github.com/repos/WebAssembly/design/issues/comments/126076097","html_url":"https://github.com/WebAssembly/design/pull/285#issuecomment-126076097","issue_url":"https://api.github.com/repos/WebAssembly/design/issues/285","id":126076097,"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-07-29T19:49:30Z","updated_at":"2015-07-29T19:49:30Z","body":"@jfbastien Ah, that was not clear from the PR which seems to hop from no-heap-resizing straight to noncontiguous `mmap`.  I think the real question then is this noncontiguity; figuring out that has a great deal to do with how this stripped-down `mmap` would evolve.  I have no doubt we can get most of the raw functionality of `mmap`, but do we need to mimic POSIX's API design of overloading one syscall to do everything?  We're not trying to preserve Interrupt Vector Table space here.\r\n\r\n@pizlonator So does iOS have literally just 4GiB?  Are there plans to loosen this over time?  Given that it would avoid the runtime protection-checking penalty, what do you think about the \"allocate up front hint\" idea I mentioned?  Also, I don't quite follow the TLB argument: I thought TLBs operate at page granularity and thus wouldn't care whether our address spaces were contiguous or not, so long as they were page granularity and we were touching the same number of pages."}}