Thread with 8 posts
jump to expanded postI finally did a write-up of how touchHLE works. well, an important part of it, anyway!
new blog post: “touchHLE in depth, part 1: a day in the life of a function call”
https://hikari.noyu.me/blog/2023-04-13-touchhle-in-depth-1-function-calls.html
bump for the morning crowd
the thing I originally wanted to write up was the Objective-C runtime, but then I realised that to understand how message sending works, you would really need to grasp how function calls work…
can’t believe I wrote something this long and published it with only one typo included
ah of course, there was a material technical error lurking in there: I can’t believe I didn’t notice that I claimed the stub functions do a tail call and that the dynamic linker looks at the stack to see which stub function calls it. only one of those can be true. fixed now…
@hikari New technology: Tail calls with a call stack. :o
@cr1901 I Can’t Believe It’s Not Stackless technology
@hikari Yea, I've been meaning to grok stackless/stackful coroutines, their differences, and I just haven't had the bandwidth plus chunk of time to dedicate to it. Not while I'm putting off 5 other things that I need to fix in "embedded Rust targets not named ARM" :/.