{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/1081","repository_url":"https://api.github.com/repos/rust-lang/rfcs","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1081/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1081/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1081/events","html_url":"https://github.com/rust-lang/rfcs/issues/1081","id":69864771,"number":1081,"title":"Async IO","user":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rfcs/labels/A-community-library","name":"A-community-library","color":"d7e101"},{"url":"https://api.github.com/repos/rust-lang/rfcs/labels/A-libs","name":"A-libs","color":"d7e101"},{"url":"https://api.github.com/repos/rust-lang/rfcs/labels/A-wishlist","name":"A-wishlist","color":"d7e101"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":109,"created_at":"2015-04-21T14:41:30Z","updated_at":"2016-07-07T17:06:55Z","closed_at":null,"body":"Rust currently only includes synchronous IO in the standard library. Should we also have async IO as well, or leave that to an external crate? What would the design look like?\r\n\r\nMoved from https://github.com/rust-lang/rust/issues/6842\r\n\r\nRelated: https://github.com/rust-lang/rfcs/issues/388"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/231143437","html_url":"https://github.com/rust-lang/rfcs/issues/1081#issuecomment-231143437","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1081","id":231143437,"user":{"login":"kevincox","id":494012,"avatar_url":"https://avatars.githubusercontent.com/u/494012?v=3","gravatar_id":"","url":"https://api.github.com/users/kevincox","html_url":"https://github.com/kevincox","followers_url":"https://api.github.com/users/kevincox/followers","following_url":"https://api.github.com/users/kevincox/following{/other_user}","gists_url":"https://api.github.com/users/kevincox/gists{/gist_id}","starred_url":"https://api.github.com/users/kevincox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevincox/subscriptions","organizations_url":"https://api.github.com/users/kevincox/orgs","repos_url":"https://api.github.com/users/kevincox/repos","events_url":"https://api.github.com/users/kevincox/events{/privacy}","received_events_url":"https://api.github.com/users/kevincox/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T17:06:54Z","updated_at":"2016-07-07T17:06:54Z","body":"However Futures abstract the threading/scheduler so that each future implementer is free to use a thread, or an evented source. Also the caller is blissfully unaware of what is being used under the hood. This opens up options for running computationally expensive operations on a background thread while handling IO events using a single (or small number of) epoll thread(s).\r\n\r\nI would look at the C# `Task` framework. While it requires compiler support I believe it could be made without if desired and it works well for single or multi-threaded concurrency paradigms."}}
{"actor":{"display_login":"kevincox"}}