Private
Public Access
4-post x86-64 interpreter work: all 0-6 arg syscalls in 32 bytes, embed interpreter inside words with 3-byte overhead (AD lodsd + FF E0 jmp rax), force lower 32-bit but keep 64-bit, pack interpreted forth words in aligned 8-bytes. Tangent post 4 from @NOTimothyLottes self-replying about custom bytecode + on-load decompression.
76 lines
2.6 KiB
JSON
76 lines
2.6 KiB
JSON
{
|
|
"root_post_id": "2078349730204078527",
|
|
"posts": [
|
|
{
|
|
"post_id": "2078347557474849137",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "All {0-6} argument syscall options in 32-bytes. The plan is to embed the interpreter inside the words with a 3-byte overhead {AD (lodsd), FF E0 (jmp rax)} so levering lots of x86-64 stuff for minimal size",
|
|
"timestamp": "2026-07-18 05:14:06",
|
|
"media_urls": [
|
|
"https://pbs.twimg.com/media/HNfFmXoXkAAMHM9?format=png&name=orig"
|
|
],
|
|
"reply_to_id": null,
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 9,
|
|
"view_count": 1016
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2078348323287716101",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "Everything forced in lower 32-bit, but still building around 64-bit support. Since I'm not using x86-64 CALL/RET I can free up the stack ops strictly for the data stack.",
|
|
"timestamp": "2026-07-18 05:17:08",
|
|
"media_urls": [
|
|
"https://pbs.twimg.com/media/HNfGRZvXEAEtaKH?format=png&name=orig"
|
|
],
|
|
"reply_to_id": "2078347557474849137",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 4,
|
|
"view_count": 559
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2078349730204078527",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "I realized at some point I can have most interpreted forth-style words in an aligned 8-bytes. So can make a very small interpreter.",
|
|
"timestamp": "2026-07-18 05:22:44",
|
|
"media_urls": [
|
|
"https://pbs.twimg.com/media/HNfHl-dXcAAf6Om?format=png&name=orig"
|
|
],
|
|
"reply_to_id": "2078348323287716101",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 5,
|
|
"view_count": 502
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2078359568636080568",
|
|
"author": "Boris Chuprin",
|
|
"handle": "noop_dev",
|
|
"text": "@NOTimothyLottes Even smaller code size possible with custom compression scheme, where you design bytecode not for immediate execution but to be decompressed on load.",
|
|
"timestamp": "2026-07-18 06:01:49",
|
|
"media_urls": [],
|
|
"reply_to_id": "2078349730204078527",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 0,
|
|
"repost_count": 0,
|
|
"like_count": 1,
|
|
"view_count": 29
|
|
}
|
|
}
|
|
],
|
|
"source_url": "https://x.com/NOTimothyLottes/status/2078349730204078527"
|
|
} |