2121365444632457412, misc
Deploy Quartz site to GitHub Pages / build (push) Canceled after 0s
Deploy Quartz site to GitHub Pages / deploy (push) Canceled after 0s

This commit is contained in:
ed committed 2026-11-14 19:48:27 -05:00
1 parent 84312401bd
commit 6b9bac9074
14 files changed
+237 -6

No files matched your search

@@ -0,0 +1,78 @@
---
title: "Not a joke: I'm re-trying development through direct 32-bit hex editing of a binary, with a layer of annotation which consists of 9 character comment per 32-bits, and a 1-bit tag if a 32-bit value is an opcode."
type: archive
source: twitter
source_url: "https://x.com/NOTimothyLottes/status/2119112267648094671"
author: "NOTimothyLottes"
handle: NOTimothyLottes
post_id: "2119112267648094671"
date: 2026-11-07
archived: 2026-11-14
draft: false
tags:
- archive
- twitter
- NOTimothyLottes
description: "Not a joke: I'm re-trying development through direct 32-bit hex editing of a binary, with a layer of annotation which consists of 9 character comment per 32-bits, and a 1-bit tag if a 32-bit value is an opcode."
in_reply_to: ""
---
## Source
- URL: https://x.com/NOTimothyLottes/status/2119112267648094671
- Author: NOTimothyLottes (@NOTimothyLottes)
- Posted: 2026-11-07 16:58:30
## Thread
**1/** **@NOTimothyLottes** ^2119112267648094671
Not a joke: I'm re-trying development through direct 32-bit hex editing of a binary, with a layer of annotation which consists of 9 character comment per 32-bits, and a 1-bit tag if a 32-bit value is an opcode. This is one layer more hardcore than assembly programming.
**2/** **@NOTimothyLottes** ^2119112827591860340
I've made a subset of x86-64 where I use extra prefix bytes to make all "opcodes" 32-bit, as well as making it direct 1:1 map to different 32-bit values in ARM64, but with the same function. Meaning I can transcode simply if need be.
**3/** **@NOTimothyLottes** ^2119113469702352935
32-bit opcode to human readable string (9-characters) is a search through a lookup table, and happens only at edit time. A human readable string to 32-bit opcode is also just a lookup table search at edit time. As simple as it gets. Everything factored into data, almost no code.
**4/** **@NOTimothyLottes** ^2119113969030095287
Editor style is simply direct binary edits at runtime, with ability to see all memory live. Effectively the minimal hardcore dev environment.
**5/** **@NOTimothyLottes** ^2119115446121111908
I've ditched RIP relative addressing and RIP relative call/jmp. Meaning I only do call/jmp to register. That was the core simplification. I still have conditional branching by a multiple of 4 bytes with a signed 8-bit immediate, for the few cases I might need that.
**6/** **@NOTimothyLottes** ^2119115894148473152
So I don't need any relinking on edit motion, instead I stick the few 32-bit branch addresses (forced lower 32-bit runtime) in a lookup table and load then call. Call pointers are simply part of the data layout specification instead of being baked into source.
**7/** **@NOTimothyLottes** ^2119117987462443034
Early in this path I was inspired by the ideas of Charles Moore and friends, but it was the sourceless direction rather than color forth itself that was most interesting to me personally - https://www.ultratechnology.com/prog.htm
**8/** **@NOTimothyLottes** ^2119118979444699291
Getting this project finished is probably the point at which I'll be out of temporary home project retirement ... maybe will do a video blog on this one. Still refining the 32-bit subset and tables (the part that takes the longest time as it's like a mini virtual ISA design).
**9/** **@NOTimothyLottes** ^2119121301592060301
Some useful references used in this project:
https://ref.x86asm.net/coder64.html
https://defuse.ca/online-x86-assembler.htm
https://www.felixcloutier.com/x86/
https://www.scs.stanford.edu/~zyedidia/arm64/index.html
**10/** **@NOTimothyLottes** ^2119122239224271302
My hardware targets are similar to before, to the metal dedicated stuff for either x86-64 or ARM64 and AMD GPUs on Linux. So any associated AMD based Steam HW platform.
**11/** **@NOTimothyLottes** ^2119122622684238254
No user-space libraries. Only kernel interfaces, not running in X/Wayland, and instead going direct to the AMD kernel driver from a VT session.
**12/** **@NOTimothyLottes** ^2119122982983651379
I'll be treating this as a vintage to the metal console platform with assembly-level dev for CPU/GPU. Bringing back a memory of how things had been, but on modern HW. Something more of an actual console than anything you'd see from MS/Sony/Nintendo.
@@ -7,7 +7,7 @@ author: "Jebrim"
handle: AgileJebrim
post_id: "2121255478319604151"
date: 2026-11-13
archived: 2026-11-13
archived: 2026-11-14
draft: false
tags:
- archive
@@ -44,6 +44,12 @@ You can just read the CDP docs they go into detail. I think they have an old CDP
I meant your non-atomic approach. The contract would thus be different if global sync guarantees were no longer required. I know how much you like pipelining.
**4/** **@TooMuchVoltage** ^2121650024593432685
**@AgileJebrim** **@NOTimothyLottes**
Ok so, the difference seems to be between atomics and CU <-> L2 roundtrips and waiting for timestamps to be collected and coherent at L2 at a later (fuzzier) time before the parent thread can be woken up?
## Related
- Spine: [[archive/threads/NOTimothyLottes/2026-11-13-thankfully-a-friend-sent-this-to-me-otherwise-id]]
@@ -7,7 +7,7 @@ author: "Amos Anon"
handle: AmosAnon
post_id: "2121276265219207518"
date: 2026-11-13
archived: 2026-11-13
archived: 2026-11-14
draft: false
tags:
- archive
@@ -7,7 +7,7 @@ author: ":3"
handle: Colonthreee
post_id: "2121260635375722605"
date: 2026-11-13
archived: 2026-11-13
archived: 2026-11-14
draft: false
tags:
- archive
@@ -7,7 +7,7 @@ author: ":3"
handle: Colonthreee
post_id: "2121250089377153126"
date: 2026-11-13
archived: 2026-11-13
archived: 2026-11-14
draft: false
tags:
- archive
@@ -7,7 +7,7 @@ author: "Damian Gray"
handle: damianGray
post_id: "2121286787410641075"
date: 2026-11-13
archived: 2026-11-13
archived: 2026-11-14
draft: false
tags:
- archive
@@ -0,0 +1,37 @@
---
title: "@NOTimothyLottes Bloated framework design."
type: archive
source: twitter
source_url: "https://x.com/SebAaltonen/status/2121510428740059185"
author: "Sebastian Aaltonen"
handle: SebAaltonen
post_id: "2121510428740059185"
date: 2026-11-14
archived: 2026-11-14
draft: false
tags:
- archive
- twitter
- NOTimothyLottes
description: "@NOTimothyLottes Bloated framework design."
in_reply_to: ""
parent_post_id: "2121259314627195297"
---
## Source
- URL: https://x.com/SebAaltonen/status/2121510428740059185
- Author: Sebastian Aaltonen (@SebAaltonen)
- Posted: 2026-11-14 07:47:56
## Branch
**1/** **@SebAaltonen** ^2121510428740059185
**@NOTimothyLottes**
Bloated framework design. So many entrypoints today. Hardware has one set of generic SIMD units today. It’s just an abstraction. Makes drivers complicated. And the RT API design is wrong. Not designed for performance.
## Related
- Spine: [[archive/threads/NOTimothyLottes/2026-11-13-thankfully-a-friend-sent-this-to-me-otherwise-id]]
@@ -7,7 +7,7 @@ author: "NOTimothyLottes"
handle: NOTimothyLottes
post_id: "2121244702649532667"
date: 2026-11-13
archived: 2026-11-13
archived: 2026-11-14
draft: false
tags:
- archive
@@ -173,6 +173,8 @@ Branches: [[archive/threads/NOTimothyLottes/2026-11-13-thankfully-a-friend-sent-
Some of those who got this far are probably realizing now the parallels here - CDP, on-GPU workgraphs, Ray Tracing, they all have horrible designs - all designed to hook the high level thinkers - make the worst way of doing something faster, but never teaching the good stuff.
Branches: [[archive/threads/NOTimothyLottes/2026-11-13-thankfully-a-friend-sent-this-to-me-otherwise-id/2026-11-14-SebAaltonen-bloated-framework-design-so-many-entrypoints]]
**25/** **@NOTimothyLottes** ^2121260463732453668
My suggestion is always the same, profile, look at your sources of latency and memory bandwidth, and re-work your thinking from first principles from the bottom up instead. Minimize everything, what doesn't need to be there, remove that.
+1
View File
@@ -157,4 +157,5 @@ tags:
- [[archive/threads/NOTimothyLottes/2026-10-04-if-the-deck-1-did-4m-units-youd-only-need-a-2-5]]
- [[archive/threads/NOTimothyLottes/2026-10-04-thread-serious-talk-on-steamdeck-2-speculation]]
- [[archive/threads/NOTimothyLottes/2026-10-06-if-one-used-bc7-for-a-giant-vq-code-book-like-a]]
- [[archive/threads/NOTimothyLottes/2026-11-07-not-a-joke-im-re-trying-development-through]]
- [[archive/threads/NOTimothyLottes/2026-11-13-thankfully-a-friend-sent-this-to-me-otherwise-id]]