3-post sibling to the 1736161886079533186 VK retrospective: same public- domain release context, Dec 2023. Covers the mmap-ring-buffer error logger and the multi-session rationale (crash auto-reload + log preservation, no debugger).
1.5 KiB
title, author, handle, post_url, post_id, timestamp, post_count, reply_count, repost_count, like_count, view_count
| title | author | handle | post_url | post_id | timestamp | post_count | reply_count | repost_count | like_count | view_count |
|---|---|---|---|---|---|---|---|---|---|---|
| Multi-session is nice, since the binary auto reloads in some cases (crash, etc), | NOTimothyLottes | @NOTimothyLottes | https://x.com/NOTimothyLottes/status/1737201090058219980 | 1737201090058219980 | 2023-12-19 19:59:50 | 3 | 0 | 0 | 3 | 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).
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.

