{"action":"created","issue":{"url":"https://api.github.com/repos/tc39/ecmascript_sharedmem/issues/12","repository_url":"https://api.github.com/repos/tc39/ecmascript_sharedmem","labels_url":"https://api.github.com/repos/tc39/ecmascript_sharedmem/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/tc39/ecmascript_sharedmem/issues/12/comments","events_url":"https://api.github.com/repos/tc39/ecmascript_sharedmem/issues/12/events","html_url":"https://github.com/tc39/ecmascript_sharedmem/issues/12","id":102458142,"number":12,"title":"Why not synchronic","user":{"login":"jfbastien","id":298127,"avatar_url":"https://avatars.githubusercontent.com/u/298127?v=3","gravatar_id":"","url":"https://api.github.com/users/jfbastien","html_url":"https://github.com/jfbastien","followers_url":"https://api.github.com/users/jfbastien/followers","following_url":"https://api.github.com/users/jfbastien/following{/other_user}","gists_url":"https://api.github.com/users/jfbastien/gists{/gist_id}","starred_url":"https://api.github.com/users/jfbastien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfbastien/subscriptions","organizations_url":"https://api.github.com/users/jfbastien/orgs","repos_url":"https://api.github.com/users/jfbastien/repos","events_url":"https://api.github.com/users/jfbastien/events{/privacy}","received_events_url":"https://api.github.com/users/jfbastien/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tc39/ecmascript_sharedmem/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/tc39/ecmascript_sharedmem/milestones/2","html_url":"https://github.com/tc39/ecmascript_sharedmem/milestones/Stage%203","labels_url":"https://api.github.com/repos/tc39/ecmascript_sharedmem/milestones/2/labels","id":1545373,"number":2,"title":"Stage 3","description":"Issue that has to be resolved before the proposal can go to Stage 3. ","creator":{"login":"lars-t-hansen","id":4823190,"avatar_url":"https://avatars.githubusercontent.com/u/4823190?v=3","gravatar_id":"","url":"https://api.github.com/users/lars-t-hansen","html_url":"https://github.com/lars-t-hansen","followers_url":"https://api.github.com/users/lars-t-hansen/followers","following_url":"https://api.github.com/users/lars-t-hansen/following{/other_user}","gists_url":"https://api.github.com/users/lars-t-hansen/gists{/gist_id}","starred_url":"https://api.github.com/users/lars-t-hansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lars-t-hansen/subscriptions","organizations_url":"https://api.github.com/users/lars-t-hansen/orgs","repos_url":"https://api.github.com/users/lars-t-hansen/repos","events_url":"https://api.github.com/users/lars-t-hansen/events{/privacy}","received_events_url":"https://api.github.com/users/lars-t-hansen/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":3,"state":"open","created_at":"2016-01-27T00:25:31Z","updated_at":"2016-03-15T18:39:16Z","due_on":null,"closed_at":null},"comments":19,"created_at":"2015-08-21T20:40:48Z","updated_at":"2016-03-16T10:37:20Z","closed_at":null,"body":"C++ is considering a new primitive called [synchronic](http://wg21.link/n4195) which is similar to [`futex`](http://www.akkadia.org/drepper/futex.pdf) but has a few different tradeoffs, would work better on some hardware, and would be portable. There's a [sample implementation with data](https://github.com/ogiroux/synchronic/), and @ogiroux is working on a new paper with an updated API.\r\n\r\nIt would be good to understand why synchronic isn't used JavaScript's shared memory:\r\n* Maybe synchronic itself would benefit from corrections.\r\n* Maybe it is a good fit, but is misunderstood (see demonstration below).\r\n* Will synchronic usage in C++17 (or whenever it's standardized) be mappable to JavaScript's primitives?\r\n\r\n![image](https://cloud.githubusercontent.com/assets/298127/9418323/f4b7e83e-4807-11e5-949c-78cc55a2b547.png)"},"comment":{"url":"https://api.github.com/repos/tc39/ecmascript_sharedmem/issues/comments/197254869","html_url":"https://github.com/tc39/ecmascript_sharedmem/issues/12#issuecomment-197254869","issue_url":"https://api.github.com/repos/tc39/ecmascript_sharedmem/issues/12","id":197254869,"user":{"login":"lars-t-hansen","id":4823190,"avatar_url":"https://avatars.githubusercontent.com/u/4823190?v=3","gravatar_id":"","url":"https://api.github.com/users/lars-t-hansen","html_url":"https://github.com/lars-t-hansen","followers_url":"https://api.github.com/users/lars-t-hansen/followers","following_url":"https://api.github.com/users/lars-t-hansen/following{/other_user}","gists_url":"https://api.github.com/users/lars-t-hansen/gists{/gist_id}","starred_url":"https://api.github.com/users/lars-t-hansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lars-t-hansen/subscriptions","organizations_url":"https://api.github.com/users/lars-t-hansen/orgs","repos_url":"https://api.github.com/users/lars-t-hansen/repos","events_url":"https://api.github.com/users/lars-t-hansen/events{/privacy}","received_events_url":"https://api.github.com/users/lars-t-hansen/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T10:37:20Z","updated_at":"2016-03-16T10:37:20Z","body":"@pizlonator @bterlson @littledan: Any reactions to this proposal?  Going once, going twice...\r\n\r\nTo summarize:\r\n\r\n- We integrate [the current synchronic draft](https://axis-of-eval.org/shmem/synchronic-formatted.html) into the spec\r\n- We mark futexes as obsolete now and remove them from the draft once the synchronic spec has received some more attention (in a month or so)\r\n"}}