{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift/issues/6456","repository_url":"https://api.github.com/repos/apple/swift","labels_url":"https://api.github.com/repos/apple/swift/issues/6456/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift/issues/6456/comments","events_url":"https://api.github.com/repos/apple/swift/issues/6456/events","html_url":"https://github.com/apple/swift/pull/6456","id":197091819,"number":6456,"title":"In immediate mode, detect the host OS version on Apple platforms.","user":{"login":"jrose-apple","id":15097531,"avatar_url":"https://avatars.githubusercontent.com/u/15097531?v=3","gravatar_id":"","url":"https://api.github.com/users/jrose-apple","html_url":"https://github.com/jrose-apple","followers_url":"https://api.github.com/users/jrose-apple/followers","following_url":"https://api.github.com/users/jrose-apple/following{/other_user}","gists_url":"https://api.github.com/users/jrose-apple/gists{/gist_id}","starred_url":"https://api.github.com/users/jrose-apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrose-apple/subscriptions","organizations_url":"https://api.github.com/users/jrose-apple/orgs","repos_url":"https://api.github.com/users/jrose-apple/repos","events_url":"https://api.github.com/users/jrose-apple/events{/privacy}","received_events_url":"https://api.github.com/users/jrose-apple/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-12-22T04:22:35Z","updated_at":"2016-12-23T00:58:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/6456","html_url":"https://github.com/apple/swift/pull/6456","diff_url":"https://github.com/apple/swift/pull/6456.diff","patch_url":"https://github.com/apple/swift/pull/6456.patch"},"body":"Follow-up to #6430. This allows interpreter mode to pick up the current version of macOS instead of defaulting to 10.9, making it unnecessary to write `#available`. A -target flag can still override this if you're trying to write a portable script. The logic is a little tortured to avoid having to actually link to\r\nFoundation.framework or libobjc.\r\n\r\nFinishes rdar://problem/29433205."},"comment":{"url":"https://api.github.com/repos/apple/swift/issues/comments/268923204","html_url":"https://github.com/apple/swift/pull/6456#issuecomment-268923204","issue_url":"https://api.github.com/repos/apple/swift/issues/6456","id":268923204,"user":{"login":"jrose-apple","id":15097531,"avatar_url":"https://avatars.githubusercontent.com/u/15097531?v=3","gravatar_id":"","url":"https://api.github.com/users/jrose-apple","html_url":"https://github.com/jrose-apple","followers_url":"https://api.github.com/users/jrose-apple/followers","following_url":"https://api.github.com/users/jrose-apple/following{/other_user}","gists_url":"https://api.github.com/users/jrose-apple/gists{/gist_id}","starred_url":"https://api.github.com/users/jrose-apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrose-apple/subscriptions","organizations_url":"https://api.github.com/users/jrose-apple/orgs","repos_url":"https://api.github.com/users/jrose-apple/repos","events_url":"https://api.github.com/users/jrose-apple/events{/privacy}","received_events_url":"https://api.github.com/users/jrose-apple/received_events","type":"User","site_admin":false},"created_at":"2016-12-23T00:58:22Z","updated_at":"2016-12-23T00:58:22Z","body":"For comparison, Clang is down in the 5-7ms range. Maybe they just have fewer symbols.\r\n\r\n```\r\nTotal pre-main time:   6.49 milliseconds (100.0%)\r\n         dylib loading time:   1.31 milliseconds (20.2%)\r\n        rebase/binding time:   3.56 milliseconds (54.9%)\r\n            ObjC setup time:   0.38 milliseconds (5.8%)\r\n           initializer time:   1.16 milliseconds (17.8%)\r\n           slowest intializers :\r\n             libSystem.B.dylib :   0.38 milliseconds (5.9%)\r\n                         clang :   0.65 milliseconds (10.0%)\r\n```"}}
{"actor":{"display_login":"jrose-apple"}}