From 871450af6252da0766e7ac025a27ae051e86d292 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Tue, 25 Aug 2026 23:14:36 -0400 Subject: [PATCH] 2092286860055712055, 1917657931375313017 --- .../index.md | 46 +++++++++++++++++++ archive/threads/NOTimothyLottes/index.md | 1 + ...inda-see-myself-starting-using-odom-and.md | 37 +++++++++++++++ .../2026-08-25-LionCatDev2002-neat.md | 37 +++++++++++++++ ...026-08-25-Menezesworks-liked-the-syntax.md | 37 +++++++++++++++ ...ometimes-useful-to-use-nop-instructions.md | 45 ++++++++++++++++++ ...-be-possible-that-asm-templates-prevent.md | 37 +++++++++++++++ .../index.md | 39 ++++++++++++++++ archive/threads/TheGingerBill/index.md | 1 + 9 files changed, 280 insertions(+) create mode 100644 archive/threads/NOTimothyLottes/2025-04-30-it-would-be-interesting-to-size-stuff-so-the/index.md create mode 100644 archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-Kknewkles-i-can-kinda-see-myself-starting-using-odom-and.md create mode 100644 archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-LionCatDev2002-neat.md create mode 100644 archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-Menezesworks-liked-the-syntax.md create mode 100644 archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-igorst-isnt-it-sometimes-useful-to-use-nop-instructions.md create mode 100644 archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-nicoabie-would-it-be-possible-that-asm-templates-prevent.md create mode 100644 archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/index.md diff --git a/archive/threads/NOTimothyLottes/2025-04-30-it-would-be-interesting-to-size-stuff-so-the/index.md b/archive/threads/NOTimothyLottes/2025-04-30-it-would-be-interesting-to-size-stuff-so-the/index.md new file mode 100644 index 0000000..b5e3972 --- /dev/null +++ b/archive/threads/NOTimothyLottes/2025-04-30-it-would-be-interesting-to-size-stuff-so-the/index.md @@ -0,0 +1,46 @@ +--- +title: "@onatt0 It would be interesting to size stuff so the limits align with instruction cache size limits." +type: archive +source: twitter +source_url: "https://x.com/NOTimothyLottes/status/1917657931375313017" +author: "NOTimothyLottes" +handle: NOTimothyLottes +post_id: "1917657931375313017" +date: 2025-04-30 +archived: 2026-08-25 +draft: false +tags: + - archive + - twitter + - NOTimothyLottes +description: "@onatt0 It would be interesting to size stuff so the limits align with instruction cache size limits." +in_reply_to: "1917656470444790255" +--- + +## Source + +- URL: https://x.com/NOTimothyLottes/status/1917657931375313017 +- Author: NOTimothyLottes (@NOTimothyLottes) +- Posted: 2025-04-30 19:10:53 + +> @NOTimothyLottes a much better encoding is possible +> next iteration is going to be +> +> 16bits*4words if you need multiple words(last word=15bits) +> 7bits*9chars if its a unique/short name(to not clutter the 16-bit dictionary-space) +> +> 64K*4 words should be enough for most cases + +## Thread + +**1/** **@NOTimothyLottes** ^1917657931375313017 + +**@onatt0** + +It would be interesting to size stuff so the limits align with instruction cache size limits. Build something where the expectation is a hit in the I$ once it's warm after the context switch and move everything else to data complexity. + +**2/** **@NOTimothyLottes** ^1917658709192306788 + +**@onatt0** + +Same could apply for non-bulk data, ie the stuff you'd possibly want human readable annotation on. Make it sized to practical L2$ limits, or fix it to at most the shared L3$. diff --git a/archive/threads/NOTimothyLottes/index.md b/archive/threads/NOTimothyLottes/index.md index 5f709f7..6ec5ade 100644 --- a/archive/threads/NOTimothyLottes/index.md +++ b/archive/threads/NOTimothyLottes/index.md @@ -51,6 +51,7 @@ tags: - [[archive/threads/NOTimothyLottes/2025-04-16-cs-optimization-brain-dumping]] - [[archive/threads/NOTimothyLottes/2025-04-30-3-i-got-side-tracked-by-building-a-language-that]] - [[archive/threads/NOTimothyLottes/2025-04-30-i-laugh-when-people-say-c-is-like-assembly-they]] +- [[archive/threads/NOTimothyLottes/2025-04-30-it-would-be-interesting-to-size-stuff-so-the]] - [[archive/threads/NOTimothyLottes/2025-07-23-nobody-self-includes-with-defines-to-reorder-c]] - [[archive/threads/NOTimothyLottes/2025-07-31-been-on-the-fence-on-writing-shader-interfaces-in]] - [[archive/threads/NOTimothyLottes/2025-07-31-people-claim-assembly-is-hard]] diff --git a/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-Kknewkles-i-can-kinda-see-myself-starting-using-odom-and.md b/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-Kknewkles-i-can-kinda-see-myself-starting-using-odom-and.md new file mode 100644 index 0000000..d2036fc --- /dev/null +++ b/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-Kknewkles-i-can-kinda-see-myself-starting-using-odom-and.md @@ -0,0 +1,37 @@ +--- +title: "@TheGingerBill I can kinda see myself starting using Odom and learning assembly with it before I ever do that with C πŸ˜‚" +type: archive +source: twitter +source_url: "https://x.com/Kknewkles/status/2092292981730484283" +author: "Kknewkles Wildwision" +handle: Kknewkles +post_id: "2092292981730484283" +date: 2026-08-25 +archived: 2026-08-25 +draft: false +tags: + - archive + - twitter + - TheGingerBill +description: "@TheGingerBill I can kinda see myself starting using Odom and learning assembly with it before I ever do that with C πŸ˜‚" +in_reply_to: "" +parent_post_id: "2092286860055712055" +--- + +## Source + +- URL: https://x.com/Kknewkles/status/2092292981730484283 +- Author: Kknewkles Wildwision (@Kknewkles) +- Posted: 2026-08-25 16:48:14 + +## Branch + +**1/** **@Kknewkles** ^2092292981730484283 + +**@TheGingerBill** + +I can kinda see myself starting using Odom and learning assembly with it before I ever do that with C πŸ˜‚ + +## Related + +- Spine: [[archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates]] diff --git a/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-LionCatDev2002-neat.md b/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-LionCatDev2002-neat.md new file mode 100644 index 0000000..dc0d8db --- /dev/null +++ b/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-LionCatDev2002-neat.md @@ -0,0 +1,37 @@ +--- +title: "@TheGingerBill neat!" +type: archive +source: twitter +source_url: "https://x.com/LionCatDev2002/status/2092292228773208400" +author: "Mellowed Tiger" +handle: LionCatDev2002 +post_id: "2092292228773208400" +date: 2026-08-25 +archived: 2026-08-25 +draft: false +tags: + - archive + - twitter + - TheGingerBill +description: "@TheGingerBill neat!" +in_reply_to: "" +parent_post_id: "2092286860055712055" +--- + +## Source + +- URL: https://x.com/LionCatDev2002/status/2092292228773208400 +- Author: Mellowed Tiger (@LionCatDev2002) +- Posted: 2026-08-25 16:45:14 + +## Branch + +**1/** **@LionCatDev2002** ^2092292228773208400 + +**@TheGingerBill** + +neat! + +## Related + +- Spine: [[archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates]] diff --git a/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-Menezesworks-liked-the-syntax.md b/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-Menezesworks-liked-the-syntax.md new file mode 100644 index 0000000..e707bb4 --- /dev/null +++ b/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-Menezesworks-liked-the-syntax.md @@ -0,0 +1,37 @@ +--- +title: "@TheGingerBill Liked the syntax" +type: archive +source: twitter +source_url: "https://x.com/Menezesworks/status/2092299432804937736" +author: "LucasMW" +handle: Menezesworks +post_id: "2092299432804937736" +date: 2026-08-25 +archived: 2026-08-25 +draft: false +tags: + - archive + - twitter + - TheGingerBill +description: "@TheGingerBill Liked the syntax" +in_reply_to: "" +parent_post_id: "2092286860055712055" +--- + +## Source + +- URL: https://x.com/Menezesworks/status/2092299432804937736 +- Author: LucasMW (@Menezesworks) +- Posted: 2026-08-25 17:13:52 + +## Branch + +**1/** **@Menezesworks** ^2092299432804937736 + +**@TheGingerBill** + +Liked the syntax + +## Related + +- Spine: [[archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates]] diff --git a/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-igorst-isnt-it-sometimes-useful-to-use-nop-instructions.md b/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-igorst-isnt-it-sometimes-useful-to-use-nop-instructions.md new file mode 100644 index 0000000..7d155ea --- /dev/null +++ b/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-igorst-isnt-it-sometimes-useful-to-use-nop-instructions.md @@ -0,0 +1,45 @@ +--- +title: "@TheGingerBill Isn't it sometimes useful to use nop instructions to align relevant code in memory (like in your example after jmp)?" +type: archive +source: twitter +source_url: "https://x.com/igorst/status/2092290020099141863" +author: "driggy" +handle: igorst +post_id: "2092290020099141863" +date: 2026-08-25 +archived: 2026-08-25 +draft: false +tags: + - archive + - twitter + - TheGingerBill +description: "@TheGingerBill Isn't it sometimes useful to use nop instructions to align relevant code in memory (like in your example after jmp)?" +in_reply_to: "" +parent_post_id: "2092286860055712055" +--- + +## Source + +- URL: https://x.com/igorst/status/2092290020099141863 +- Author: driggy (@igorst) +- Posted: 2026-08-25 16:36:28 + +## Branch + +**1/** **@igorst** ^2092290020099141863 + +**@TheGingerBill** + +Isn't it sometimes useful to use nop instructions to align relevant code in memory (like in your example after jmp)? + +**2/** **@TheGingerBill** ^2092290503022666041 + +**@igorst** + +Yep. But that’s not what the example is showing. + +Odin even allows for #nop 15 + +## Related + +- Spine: [[archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates]] diff --git a/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-nicoabie-would-it-be-possible-that-asm-templates-prevent.md b/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-nicoabie-would-it-be-possible-that-asm-templates-prevent.md new file mode 100644 index 0000000..d7b4213 --- /dev/null +++ b/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-nicoabie-would-it-be-possible-that-asm-templates-prevent.md @@ -0,0 +1,37 @@ +--- +title: "@TheGingerBill @TheGingerBill would it be possible that asm templates prevent the bug in https://youtu.be/PNWABi6Dcl8? Cc @LowLevelTweets" +type: archive +source: twitter +source_url: "https://x.com/nicoabie/status/2092358886258774054" +author: "Nico Gallinal" +handle: nicoabie +post_id: "2092358886258774054" +date: 2026-08-25 +archived: 2026-08-25 +draft: false +tags: + - archive + - twitter + - TheGingerBill +description: "@TheGingerBill @TheGingerBill would it be possible that asm templates prevent the bug in https://youtu.be/PNWABi6Dcl8? Cc @LowLevelTweets" +in_reply_to: "" +parent_post_id: "2092286860055712055" +--- + +## Source + +- URL: https://x.com/nicoabie/status/2092358886258774054 +- Author: Nico Gallinal (@nicoabie) +- Posted: 2026-08-25 21:10:07 + +## Branch + +**1/** **@nicoabie** ^2092358886258774054 + +**@TheGingerBill** **@TheGingerBill** + +would it be possible that asm templates prevent the bug in https://youtu.be/PNWABi6Dcl8? Cc @LowLevelTweets + +## Related + +- Spine: [[archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates]] diff --git a/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/index.md b/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/index.md new file mode 100644 index 0000000..a4b505b --- /dev/null +++ b/archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/index.md @@ -0,0 +1,39 @@ +--- +title: "Examples of Odin's new inline `asm` templates!" +type: archive +source: twitter +source_url: "https://x.com/TheGingerBill/status/2092286860055712055" +author: "gingerBill" +handle: TheGingerBill +post_id: "2092286860055712055" +date: 2026-08-25 +archived: 2026-08-25 +draft: false +tags: + - archive + - twitter + - TheGingerBill +description: "Examples of Odin's new inline `asm` templates!" +in_reply_to: "" +--- + +## Source + +- URL: https://x.com/TheGingerBill/status/2092286860055712055 +- Author: gingerBill (@TheGingerBill) +- Posted: 2026-08-25 16:23:54 + +## Thread + +**1/** **@TheGingerBill** ^2092286860055712055 + +Examples of Odin's new inline `asm` templates! + +One (nonsense) example with the "kitchen_sink" showing off features. Another example with "everything_wrong" but it shows the error messages and warnings you could get. + +This is just a sneak peek into what it can already do! + +![](https://pbs.twimg.com/media/HQlLiAuWoAA5POF?format=jpg&name=orig) +![](https://pbs.twimg.com/media/HQlLlswWsAAYo5V?format=jpg&name=orig) + +Branches: [[archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-igorst-isnt-it-sometimes-useful-to-use-nop-instructions]], [[archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-LionCatDev2002-neat]], [[archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-Kknewkles-i-can-kinda-see-myself-starting-using-odom-and]], [[archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-Menezesworks-liked-the-syntax]], [[archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates/2026-08-25-nicoabie-would-it-be-possible-that-asm-templates-prevent]] diff --git a/archive/threads/TheGingerBill/index.md b/archive/threads/TheGingerBill/index.md index aadf119..436cf0f 100644 --- a/archive/threads/TheGingerBill/index.md +++ b/archive/threads/TheGingerBill/index.md @@ -9,4 +9,5 @@ tags: - TheGingerBill --- +- [[archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates]] - [[archive/threads/TheGingerBill/2026-08-25-this-comment-was-asking-if-i-used-llms-agents-for]]