{"action":"created","issue":{"url":"https://api.github.com/repos/ggez/ggez/issues/29","repository_url":"https://api.github.com/repos/ggez/ggez","labels_url":"https://api.github.com/repos/ggez/ggez/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/ggez/ggez/issues/29/comments","events_url":"https://api.github.com/repos/ggez/ggez/issues/29/events","html_url":"https://github.com/ggez/ggez/issues/29","id":202197909,"number":29,"title":"It would be nice if everything was pure rust.","user":{"login":"icefoxen","id":1335133,"avatar_url":"https://avatars3.githubusercontent.com/u/1335133?v=4","gravatar_id":"","url":"https://api.github.com/users/icefoxen","html_url":"https://github.com/icefoxen","followers_url":"https://api.github.com/users/icefoxen/followers","following_url":"https://api.github.com/users/icefoxen/following{/other_user}","gists_url":"https://api.github.com/users/icefoxen/gists{/gist_id}","starred_url":"https://api.github.com/users/icefoxen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icefoxen/subscriptions","organizations_url":"https://api.github.com/users/icefoxen/orgs","repos_url":"https://api.github.com/users/icefoxen/repos","events_url":"https://api.github.com/users/icefoxen/events{/privacy}","received_events_url":"https://api.github.com/users/icefoxen/received_events","type":"User","site_admin":false},"labels":[{"id":507272273,"url":"https://api.github.com/repos/ggez/ggez/labels/[CODE]","name":"[CODE]","color":"fbca04","default":false},{"id":319009114,"url":"https://api.github.com/repos/ggez/ggez/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2017-01-20T17:31:13Z","updated_at":"2018-05-16T17:13:17Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Deploying DLL's on Windows is a pain in the butt.  Pure Rust is much easier to work with.  This would mean essentially ditching SDL and using a collection of crates that provide the same functionalities.\r\n\r\nDitching SDL will make life harder on iOS and Android.  Hmmm.\r\n\r\nThe things that we would need to replace:\r\n\r\n* Windowing, events and input (winapi/glutin, joystick and game controller input is a concern)\r\n* Graphics (gfx?)\r\n* Sound playing (ears, alto, ???)  This is hard 'cause I believe the best crates depend on OpenAL anyway.  Oh, `cpal` does not!  Does it work well enough?  `rodio` is built atop it, zang.\r\n* Sound decoding (lewton, probably others).  Need wav and ogg at the least, mp3 would be great.  An opus decoder would be neat, as would midi and mod synthesizers\r\n* Cross-platform file location handling (I know they're out there but don't remember what)\r\n\r\nThe main concerns with this is that a) we don't want to depend on something that subsequently never gets updated, and b) we don't want to take any steps backwards in functionality."},"comment":{"url":"https://api.github.com/repos/ggez/ggez/issues/comments/389596275","html_url":"https://github.com/ggez/ggez/issues/29#issuecomment-389596275","issue_url":"https://api.github.com/repos/ggez/ggez/issues/29","id":389596275,"user":{"login":"Ratysz","id":2969204,"avatar_url":"https://avatars0.githubusercontent.com/u/2969204?v=4","gravatar_id":"","url":"https://api.github.com/users/Ratysz","html_url":"https://github.com/Ratysz","followers_url":"https://api.github.com/users/Ratysz/followers","following_url":"https://api.github.com/users/Ratysz/following{/other_user}","gists_url":"https://api.github.com/users/Ratysz/gists{/gist_id}","starred_url":"https://api.github.com/users/Ratysz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ratysz/subscriptions","organizations_url":"https://api.github.com/users/Ratysz/orgs","repos_url":"https://api.github.com/users/Ratysz/repos","events_url":"https://api.github.com/users/Ratysz/events{/privacy}","received_events_url":"https://api.github.com/users/Ratysz/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T17:13:17Z","updated_at":"2018-05-16T17:13:17Z","author_association":"CONTRIBUTOR","body":"This is inspiring! Couldn't have been more timely, either: I finally (literally two hours ago) got around to messing with `winit` and `glutin`. Just learning for now, but fully planning on doing dev work (hopefully minor, if at all needed) - and, having more brains and eyes on inevitable `ggez` migration away from `SDL2` is likely to be helpful, too.\r\n\r\nI'll make sure to dust off my gamepads and experiment with `gilrs` as well. Said 'pads can switch between XInput and DirectInput, so at very least I'll be able to test support of that, if/when it happens."}}
{"actor":{"display_login":"Ratysz"}}