Files

1.5 KiB

Back to Twitter thread index


title: "Multi-session is nice, since the binary auto reloads in some cases (crash, etc)," author: "NOTimothyLottes" handle: "@NOTimothyLottes" post_url: "https://x.com/NOTimothyLottes/status/1737201090058219980" post_id: "1737201090058219980" timestamp: "2023-12-19 19:59:50" post_count: 3 reply_count: 0 repost_count: 0 like_count: 3 view_count: 742

@NOTimothyLottes — Multi-session is nice, since the binary auto reloads in some cases (crash, etc),

Post 1 (2023-12-19 19:51:05)

Working towards a public-domain release of a cleaned version of my Win32 Vulkan NV+AMD compute graphics platform. What I used last for rapid prototyping (which is also IMO fine for releasable software). Won't call it an 'Engine' because it only provides tools to hang yourself ...

Post 2 (2023-12-19 19:56:49) — reply to Post 1

Simplified the error logger today. Memory mapped file is definitely the way to go, one atomic per message, log multiple sessions, fixed size file acts like a message ring buffer. Background thread keeps the last message updating the same line on the console (for easy debug).

Media 1 Media 2

Post 3 (2023-12-19 19:59:50) — reply to Post 2

Multi-session is nice, since the binary auto reloads in some cases (crash, etc), want to see why the reload happened, so don't want to clear the log. Yes, I still don't use debuggers, this logger + runtime shader recompile is all I use personally for dev work.