2076492543622107480
This commit is contained in:
1 parent
d0cb92722b
commit
59bc0a7e1f
3 files changed
+45
-31
No files matched your search
-30
@@ -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.
|
||||
+44
@@ -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
|
||||
|
||||

|
||||
|
||||
**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
|
||||
|
||||

|
||||
|
||||
**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.
|
||||
@@ -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]]
|
||||
|
||||
Reference in new issue
Block a user