Files
2026-08-25 16:26:52 -04:00

1.6 KiB

title, type, source, source_url, author, handle, post_id, date, archived, draft, tags, description, in_reply_to
title type source source_url author handle post_id date archived draft tags description in_reply_to
All {0-6} argument syscall options in 32-bytes. archive twitter https://x.com/NOTimothyLottes/status/2078347557474849137 NOTimothyLottes NOTimothyLottes 2078347557474849137 2026-07-18 2026-08-25 false
archive
twitter
NOTimothyLottes
All {0-6} argument syscall options in 32-bytes.

Source

Thread

1/ @NOTimothyLottes ^2078347557474849137

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

2/ @NOTimothyLottes ^2078348323287716101

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.

3/ @NOTimothyLottes ^2078349730204078527

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.

Branches: archive/threads/NOTimothyLottes/2026-07-18-all-0-6-argument-syscall-options-in-32-bytes/2026-07-18-noop_dev-even-smaller-code-size-possible-with-custom