2092286860055712055, 1917657931375313017

This commit is contained in:
ed committed 2026-08-25 23:14:36 -04:00
1 parent 1a01ced6b6
commit 871450af62
9 files changed
+280

No files matched your search

@@ -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$.
+1
View File
@@ -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]]
@@ -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]]
@@ -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]]
@@ -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]]
@@ -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]]
@@ -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]]
@@ -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]]
+1
View File
@@ -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]]