Ben Cohen on Nostr: In What's new in Swift I mention the performance improvements from the new Swift ...
In What's new in Swift I mention the performance improvements from the new Swift implementation of Foundation. Performance came up a lot when we first put the open source package live, but wasn't easy to talk about until the new OS betas were available.
One common trope at the time was “it isn't faster than using Objective-C, this is just to reduce Swift bridging costs” and while that's true, it's important to note Swift is _just plain faster_, as seen even when calling into it from ObjC.
Published at
2023-06-07 00:05:58Event JSON
{
"id": "6905ae5356555e5fc28fc51dc5d5982fd8b304c5edc04fa9246acec398202b74",
"pubkey": "d2c7e7c0b6bdf9cd41e14c5d989c6b422d8ba011d2622937f2596a5b23425fb6",
"created_at": 1686096358,
"kind": 1,
"tags": [
[
"mostr",
"https://mastodon.social/users/airspeedswift/statuses/110500010932748769"
]
],
"content": "In What's new in Swift I mention the performance improvements from the new Swift implementation of Foundation. Performance came up a lot when we first put the open source package live, but wasn't easy to talk about until the new OS betas were available.\n\nOne common trope at the time was “it isn't faster than using Objective-C, this is just to reduce Swift bridging costs” and while that's true, it's important to note Swift is _just plain faster_, as seen even when calling into it from ObjC.\n\nhttps://files.mastodon.social/media_attachments/files/110/500/010/643/496/784/original/5b012765ace9825a.png",
"sig": "10273505b67c2b879b36e654d38dd5d42a8e3177f79c23b3580b6384b9a7cd8003d8ced43a91a75bce734aaf6d18fe9a1a4ebef27e84cf9fca2b5a85152b34c8"
}