{"action":"opened","issue":{"url":"https://api.github.com/repos/andrewrk/zig/issues/324","repository_url":"https://api.github.com/repos/andrewrk/zig","labels_url":"https://api.github.com/repos/andrewrk/zig/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/andrewrk/zig/issues/324/comments","events_url":"https://api.github.com/repos/andrewrk/zig/issues/324/events","html_url":"https://github.com/andrewrk/zig/issues/324","id":221959325,"number":324,"title":"Design Zig's stdlib to minimize use of syscalls ","user":{"login":"thejoshwolfe","id":87436,"avatar_url":"https://avatars1.githubusercontent.com/u/87436?v=3","gravatar_id":"","url":"https://api.github.com/users/thejoshwolfe","html_url":"https://github.com/thejoshwolfe","followers_url":"https://api.github.com/users/thejoshwolfe/followers","following_url":"https://api.github.com/users/thejoshwolfe/following{/other_user}","gists_url":"https://api.github.com/users/thejoshwolfe/gists{/gist_id}","starred_url":"https://api.github.com/users/thejoshwolfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejoshwolfe/subscriptions","organizations_url":"https://api.github.com/users/thejoshwolfe/orgs","repos_url":"https://api.github.com/users/thejoshwolfe/repos","events_url":"https://api.github.com/users/thejoshwolfe/events{/privacy}","received_events_url":"https://api.github.com/users/thejoshwolfe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-15T16:51:10Z","updated_at":"2017-04-15T16:51:10Z","closed_at":null,"body":"@Immortalin says from https://github.com/andrewrk/zig/issues/322#issuecomment-294280600 :\r\n\r\nCan the standard library be designed to minimise use of syscalls? It would be great if the stdlib can be bootstrapped by defining a few primitives. Making the runtime easily bootstrapable/generic would be really nice since pretty much every other programming language requires rewriting the entire standard library when doing OS development due to the lack of malloc, stdio etc. Imagine how much easier OS Dev would be if there's a \"zig runtime function stubs\" file with perhaps twenty primitives. Once the user fills them out, they would be able to do OS Dev with full access to the stdlib"}}
{"actor":{"display_login":"thejoshwolfe"}}