Per Vognsen
@pervognsen@mastodon.social
I like programming and understanding how stuff works. My background is in systems programming and game development.
Recent public posts
- One of my new favorite quality-of-life features of the fish shell is funcsave. You can just define 'function foo' inline in any fish instance and use the 'funcs...
- Wirth had a great quote I vaguely recall from one of his books or papers, but I haven't been able to track it down, so I might have spliced the memory together ...
- Do any of you LLVM folks know a list of absolutely minimal provenance-like assumptions that the core passes rely on? I believe the core alias analysis only reli...
- I need to write up some of my findings from my last immediate-mode UI experiment, where I was focusing on figuring out how to aggressively idle and more general...
- Has anyone reverse engineered a state-of-the-art branch predictor in a modern processor to the extent that they can generate ~100% mispredicts on two-way branch...
- When I see game trailers with glaring frame pacing issues, I'm not sure whether to commend them for honest advertising or be upset that they couldn't even bothe...
- If you updated Firefox and wondered what the hell happened to the UI like I did, open about:config and set browser.nova.enabled = false.
- Here's a programming trick that can come in handy. For reference-counted copy-on-write nodes, you can get away with an unusually small number of refcount bits. ...
- We are so back.
- I haven't updated Tracy in forever since it was working just fine. I just pulled and rebuilt and this greets me when I open the visualizer. It's time to get the...
- Random trick: if you allocate different types (of a set of contextually possible variant types) in appropriately aligned parts of the virtual address space, a t...
- Trying to kill the myth of immediate-mode UI being power inefficient. That's with a blinking cursor with a 1s blink interval which stops blinking after 10s of i...
- When I occasionally revisit the old volumes of TAOCP, I'm always struck by how useless I find the flowcharts, whereas it seems like they're expected by Knuth an...
- I saw this in a ripgrep issue on GH that turned out to be a kernel bug. "I think it's worth contemplating why the kernel works at all." https://github.com/torva...
- Super heavy rain right now, the kind where the sky just opens up, after a week of almost constant rain. Decided to check the outside drainage situation and it m...
- I thought I was being clever by using Linux system packages built for znver4 so they could benefit from AVX-512, but valgrind/callgrind doesn't work yet with AV...
- The Genesis of Attribute Grammars, retrospective paper by Knuth: https://www.cs.miami.edu/home/odelia/teaching/csc419_spring17/syllabus/Knuth_AttributeHistory.p...
- Almost every time I see saturating add/multiply used to avoid overflows, it's silently wrong or if it's only accidentally right (just because a big wrong number...
- This is really cool: https://iev.ee/blog/categorize-everything-all-at-once/.
- Got column-precision debuginfo emission working but I spent more time just figuring out a reasonable way to visualize it in disassembly dumps. I originally didn...