Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
notorious_pgb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
notorious_pgb
1y ago
I suppose the actual thing it is is closer to what you're describing, but the thing that it makes viscerally understandable is threads itself -- I hope.
32.
▲
by
notorious_pgb
1y ago
My person! I worried that I'd come across as a high-horse dickhead in the mystification section, when that's the fundamental opposite of my intention and attitude here. I'm glad to hear that it resonated with another. Althoug
33.
▲
by
notorious_pgb
1y ago
I see what you're getting at -- though then it raises the question: what would it mean for those processes to have multiple threads within them? The way I've been looking at it, if I want to take this further, processes would mayb
34.
▲
by
notorious_pgb
1y ago
Interesting; which emulator(s) was this for? I have to imagine this strategy is mostly effective below a certain total complexity level -- however you want to define that -- and the more modern you get, the more you're lucky to even re
35.
▲
by
notorious_pgb
1y ago
This is one of the core weaknesses of the analogy that I'm trying to figure out how to resolve: there's no shared memory, unlike actual threads. I think the solution requires that the game code is what's executing threading
36.
▲
by
notorious_pgb
1y ago
It'd be really interesting to push this to that level -- the big challenge likely being that DooM's state (including video memory) is certainly much larger and expensive to swap than an NES save state. One would have to get really
37.
▲
by
notorious_pgb
1y ago
You're goddamn right it's pushing it. I struggled with how to convey this; the ultimate goal is to viscerally demonstrate what a thread IS , so I'm comfortable with it being... something strange... but I do want it to rese
38.
▲
by
notorious_pgb
1y ago
> Nor I, but I've learned from the metaphor, for what that's worth. It's the sickest possible outcome for me, so: worth a lot!
39.
▲
by
notorious_pgb
1y ago
Thank you! I'm curious how effective you feel this specific example might've been if it were delivered during your course. I suspect I've stumbled across a really helpful teaching tool, but having not gone to university, I
40.
▲
A toy RTOS inside Super Mario Bros. using emulator save states
(prettygoodblog.com)
251 points
by
notorious_pgb
1y ago
|
54 comments
41.
▲
What Threads Are and How to Use Them Correctly, Part 1
(prettygoodblog.com)
1 points
by
notorious_pgb
2y ago
|
0 comments
42.
▲
by
notorious_pgb
2y ago
Hey man, thanks for sharing this! I was pretty shocked to see traffic coming from YCombinator of all places. Really made my day.