Kanbaru 🌟 (one hikari of too many)
I 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
Kanbaru 🌟 (one hikari of too many)
(replying to Kanbaru 🌟 (one hikari of too many))
bump for the morning crowd
Kanbaru 🌟 (one hikari of too many)
(replying to Kanbaru 🌟 (one hikari of too many))
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…
Kanbaru 🌟 (one hikari of too many)
(replying to Kanbaru 🌟 (one hikari of too many))
can’t believe I wrote something this long and published it with only one typo included
Kanbaru 🌟 (one hikari of too many)
(replying to Kanbaru 🌟 (one hikari of too many))
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…
William D. Jones
(replying to Kanbaru 🌟 (one hikari of too many))
@hikari New technology: Tail calls with a call stack. :o
Kanbaru 🌟 (one hikari of too many)
(replying to William D. Jones)
@cr1901 I Can’t Believe It’s Not Stackless technology
