diff --git a/docs/twitter/2074108624553554387/media/2074108624553554387_1.png b/docs/twitter/2074108624553554387/media/2074108624553554387_1.png new file mode 100644 index 00000000..5cb17555 Binary files /dev/null and b/docs/twitter/2074108624553554387/media/2074108624553554387_1.png differ diff --git a/docs/twitter/2074108624553554387/thread.md b/docs/twitter/2074108624553554387/thread.md new file mode 100644 index 00000000..ce1210f2 --- /dev/null +++ b/docs/twitter/2074108624553554387/thread.md @@ -0,0 +1,29 @@ +--- +title: "Vulkan starts with the ping pong between getting an instance proc addr so one ca" +author: "NOTimothyLottes" +handle: "@NOTimothyLottes" +post_url: "https://x.com/NOTimothyLottes/status/2074108624553554387" +post_id: "2074108624553554387" +timestamp: "2026-07-06 12:30:05" +post_count: 3 +reply_count: 1 +repost_count: 0 +like_count: 20 +view_count: 2054 +--- + +# @NOTimothyLottes — Vulkan starts with the ping pong between getting an instance proc addr so one ca + +## Post 1 (2026-07-06 12:30:05) + +Vulkan starts with the ping pong between getting an instance proc addr so one can get vkCreateInstance, then using that to create an instance so one can get the remaining functions. I reuse my Lib() code modified for VK, that keeps a 64-bit base and 32-bit offsets for symbols. + +![Media 1](./media/2074108624553554387_1.png) + +## Post 2 (2026-07-08 16:09:55) — reply to Post 1 + +@NOTimothyLottes That's very neat, but is it really true in practice that the max distance between symbols can't exceed 4GB? I think it would be a sane guarantee that it can't, but I assumed the worst and got scared off from the idea... + +## Post 3 (2026-07-08 16:24:40) — reply to Post 2 + +@nullspector It’s working thus far, if I find a case it doesn’t work I’ll change it. I keep a different base per library, so likely safe enough. diff --git a/docs/twitter/2074108624553554387/thread_data.json b/docs/twitter/2074108624553554387/thread_data.json new file mode 100644 index 00000000..51269bc8 --- /dev/null +++ b/docs/twitter/2074108624553554387/thread_data.json @@ -0,0 +1,56 @@ +{ + "root_post_id": "2074108624553554387", + "posts": [ + { + "post_id": "2074108624553554387", + "author": "NOTimothyLottes", + "handle": "NOTimothyLottes", + "text": "Vulkan starts with the ping pong between getting an instance proc addr so one can get vkCreateInstance, then using that to create an instance so one can get the remaining functions. I reuse my Lib() code modified for VK, that keeps a 64-bit base and 32-bit offsets for symbols.", + "timestamp": "2026-07-06 12:30:05", + "media_urls": [ + "https://pbs.twimg.com/media/HMi2ZkFXEAAy767?format=png&name=orig" + ], + "reply_to_id": null, + "quote_of_id": null, + "metrics": { + "reply_count": 1, + "repost_count": 0, + "like_count": 20, + "view_count": 2054 + } + }, + { + "post_id": "2074888721959149995", + "author": "Michael Spector", + "handle": "nullspector", + "text": "@NOTimothyLottes That's very neat, but is it really true in practice that the max distance between symbols can't exceed 4GB? I think it would be a sane guarantee that it can't, but I assumed the worst and got scared off from the idea...", + "timestamp": "2026-07-08 16:09:55", + "media_urls": [], + "reply_to_id": "2074108624553554387", + "quote_of_id": null, + "metrics": { + "reply_count": 1, + "repost_count": 0, + "like_count": 0, + "view_count": 25 + } + }, + { + "post_id": "2074892435038077125", + "author": "NOTimothyLottes", + "handle": "NOTimothyLottes", + "text": "@nullspector It’s working thus far, if I find a case it doesn’t work I’ll change it. I keep a different base per library, so likely safe enough.", + "timestamp": "2026-07-08 16:24:40", + "media_urls": [], + "reply_to_id": "2074888721959149995", + "quote_of_id": null, + "metrics": { + "reply_count": 0, + "repost_count": 0, + "like_count": 1, + "view_count": 37 + } + } + ], + "source_url": "https://x.com/NOTimothyLottes/status/2074108624553554387" +} \ No newline at end of file