Top all-time · #21010
Slembcke’s Computational Corner
Personal blog · slembcke.github.ioprogrammingsystems
Slembcke’s Computational Corner is a personal blog at slembcke.github.io about programming and systems. Since 2020, 3 different Hacker News readers have linked it 4 times. The last post was in 2023, but the archive is still widely read.
Too few sampled comments (3) to say how often HN recommends it.?
Why HN links it
Slembcke's programming blog, with pages on Lua debugging tools (debugger.lua) and articles on coroutines and small VMs. Commenters link it as a reference; one praises a post directly.
Summarised by Claude from a sample of 3 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Make computers work for you!
What Hacker News says?
I've found different ways .. if its a simple Lua situation, where you just want to debug pure Lua code, Zerobraine Studio is a pretty good environment to do it and comes with a debugger. I've tried various other Lua debuggers over the years, these are useful: https://github.com/slembcke/debugger.lua https://slembcke.github.io/DebuggerLua You can also use the debug module: https://www.tutorialspoint.com/lua/lua_debug…
Comment linking /DebuggerLua
on “Lua is so underrated”Submitted Custom Allocators Demystified as a story · 95 points
HN discussionI wrote an unrolled switch statement in Java to simulate eager async/await across threads. https://github.com/samsquire/multiversion-concurrency-contro... The goal is that a compiler should generate this for you. This code is equivalent to the following: task1: while True: handle1 = async task2(); handle2 = async task3(); print(await handle1) print(await handle2) task2: n = 0 while True: yield n++ task3: n = 0 while…
Comment linking /Tina
on “Let's write a setjmp”Thanks for submitting this article and thank you to the author. This is exactly the kind of technical post I love to see. I recently wrote a simple barebones toy amd64 x86_64 compiler and coroutines would be a beautiful thing to add to the compiler. I think I can learn from this and the Inko programming language which refers to Tina a coroutine library https://github.com/samsquire/compiler https://slembcke.github.io…
Comment linking /Tina
on “Small VMs and Coroutines”