aarch64 fibers example with a trampoline#34
aarch64 fibers example with a trampoline#34monoid wants to merge 3 commits intoPacktPublishing:mainfrom
Conversation
1. fix storing `r29` aka FP; 2. use `std::arch::naked_asm` where appropriate; 3. use `#[unstable(naked)]`.
16 bytes is enough.
|
Thank you for this. Very interesting. I'll have to set of some time and go through it more thoroughly and see how I best can add this into this repository without causing any kind of confusion. Thanks! |
|
Oh, thank you for the great book! I've put together a blog post about my approach, I hope it will be helpful: https://monoid.github.io/posts/arm-coroutines/. |
|
Thanks for the kind words. I've read the blog post and found it very interesting. Well done on explaining some of the differences between ARM64 and X86_64! I've posted a link to your blog post on X/Twitter, and it got quite a few views there as well. I'll start working on a second edition of the book after summer and I might add this port as a bonus section in the repository for that edition if that's OK with you? |
|
Oh, thank you very much! Lot of views indeed! It would be great! You may use my code as you wish, thank you for inspiring me to dive deeper in the subject :) |
|
Thanks for that and very happy to hear the book inspired you. Great work! |
No description provided.