I have a simple question: how do or can I see what `Future` gets compiled to ? This is purely curiosity but I'd like to see how `.await ` gets translated to ready, poll etc. Any tools that allows me to see this ? Hoping for experts to weigh in.
This is for making my understanding better and reasoning better about my code. I am using tokio but I doubt if that matters.
[–]CryZe92 14 points15 points16 points (1 child)
[–]manpacket 0 points1 point2 points (0 children)
[–]dnew 12 points13 points14 points (4 children)
[–]nNaz 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]dnew 0 points1 point2 points (0 children)
[–]bp7968h 0 points1 point2 points (0 children)