diff --git a/archive/threads/NOTimothyLottes/2026-07-13-another-quality-of-life-change-exit-with-error/index.md b/archive/threads/NOTimothyLottes/2026-07-13-another-quality-of-life-change-exit-with-error/index.md deleted file mode 100644 index 6fea6ce..0000000 --- a/archive/threads/NOTimothyLottes/2026-07-13-another-quality-of-life-change-exit-with-error/index.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: "Another quality of life change, exit with error now triggers the background console render thread to actually quit, so it always draws the console, then draws the error code, then exits." -type: archive -source: twitter -source_url: "https://x.com/NOTimothyLottes/status/2076534605193036043" -author: "NOTimothyLottes" -handle: NOTimothyLottes -post_id: "2076534605193036043" -date: 2026-07-13 -archived: 2026-08-23 -draft: false -tags: - - archive - - twitter - - NOTimothyLottes -description: "Another quality of life change, exit with error now triggers the background console render thread to actually quit, so it always draws the console, then draws the error code, then exits." -in_reply_to: "" ---- - -## Source - -- URL: https://x.com/NOTimothyLottes/status/2076534605193036043 -- Author: NOTimothyLottes (@NOTimothyLottes) -- Posted: 2026-07-13 05:10:04 - -## Thread - -**1/** - -Another quality of life change, exit with error now triggers the background console render thread to actually quit, so it always draws the console, then draws the error code, then exits. diff --git a/archive/threads/NOTimothyLottes/2026-07-13-ill-mark-this-down-a-more-code-obfustication-for/index.md b/archive/threads/NOTimothyLottes/2026-07-13-ill-mark-this-down-a-more-code-obfustication-for/index.md new file mode 100644 index 0000000..93f8356 --- /dev/null +++ b/archive/threads/NOTimothyLottes/2026-07-13-ill-mark-this-down-a-more-code-obfustication-for/index.md @@ -0,0 +1,44 @@ +--- +title: "I'll mark this down a more code obfustication for most humans, but for me it's another useful shorthand." +type: archive +source: twitter +source_url: "https://x.com/NOTimothyLottes/status/2076492543622107480" +author: "NOTimothyLottes" +handle: NOTimothyLottes +post_id: "2076492543622107480" +date: 2026-07-13 +archived: 2026-08-25 +draft: false +tags: + - archive + - twitter + - NOTimothyLottes +description: "I'll mark this down a more code obfustication for most humans, but for me it's another useful shorthand." +in_reply_to: "" +--- + +## Source + +- URL: https://x.com/NOTimothyLottes/status/2076492543622107480 +- Author: NOTimothyLottes (@NOTimothyLottes) +- Posted: 2026-07-13 02:22:56 + +## Thread + +**1/** + +I'll mark this down a more code obfustication for most humans, but for me it's another useful shorthand. +define X_ return +define G_(x) goto x + +![](https://pbs.twimg.com/media/HNEuyadXoAAVxgG?format=png&name=orig) + +**2/** + +Not been happy with traditional C style {if,while,do,switch,for} so moving to more assembly style {if,goto} instead. This way static branch prediction {backward=taken,forward=not_taken} is more explicit in the code. Prototyping it in the Library loader below + +![](https://pbs.twimg.com/media/HNExHNRWIAAimHM?format=png&name=orig) + +**3/** + +Another quality of life change, exit with error now triggers the background console render thread to actually quit, so it always draws the console, then draws the error code, then exits. diff --git a/archive/threads/NOTimothyLottes/index.md b/archive/threads/NOTimothyLottes/index.md index cae383d..88d0672 100644 --- a/archive/threads/NOTimothyLottes/index.md +++ b/archive/threads/NOTimothyLottes/index.md @@ -88,8 +88,8 @@ tags: - [[archive/threads/NOTimothyLottes/2026-07-08-oh-my-radv-driver-says-vkgetshaderinfoamd-is]] - [[archive/threads/NOTimothyLottes/2026-07-09-so-most-run-linux-from-a-graphical-login-i-still]] - [[archive/threads/NOTimothyLottes/2026-07-11-rethinking-vulkan-queue-choice]] -- [[archive/threads/NOTimothyLottes/2026-07-13-another-quality-of-life-change-exit-with-error]] - [[archive/threads/NOTimothyLottes/2026-07-13-going-all-in-to-only-if-goto-but-through-better]] +- [[archive/threads/NOTimothyLottes/2026-07-13-ill-mark-this-down-a-more-code-obfustication-for]] - [[archive/threads/NOTimothyLottes/2026-07-14-another-round-of-getting-optimized-error-checking]] - [[archive/threads/NOTimothyLottes/2026-07-15-sar-on-a-control-word-can-in-theory-grab-3-values]] - [[archive/threads/NOTimothyLottes/2026-07-17-oh-f-it-the-urge-to-drop-the-c-baggage-was-too]]