Files
ed a2fb9bb507 docs(twitter): add 2074108624553554387 corpus (NOTimothyLottes Vulkan loader Lib() pattern + 32-bit offset symbols)
3-post thread, 1 PNG, 20 likes, 2054 views. Vulkan starts with the
ping pong between getting an instance proc addr for vkCreateInstance,
then using that to create an instance to get the remaining functions.
Lottes reuses his Lib() code modified for VK: keeps a 64-bit base and
32-bit offsets for symbols. @nullspector asks if 4GB max distance
between symbols is a real guarantee; Lottes: '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.' Same pattern as the
register-as-memory / pre-emptive scatter approach: 64-bit base +
32-bit offset = compact symbol table. Sibling to the 2074725506050642021
RADV + queue setup and the 2075769880092037309 VK queue rethink.
2026-08-01 15:08:42 -04:00

56 lines
2.0 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"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 Its working thus far, if I find a case it doesnt work Ill 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"
}