Sorry for the delay! I am in China standard time which makes me a little bit difficult to catch up in time.
Ah, it's a sad story, maybe you could refer to What's going on with bincode? and Releasing bincode-next v3.0.0-rc.1 for some ideas about that. It's somehow of a, firefighting move...
Yes, this certainly true. But as far as I understand, cargo-call-stack are designed to analyze the max length of the DAG map of the execution chain, but for most recursive based serialization crate like bincode-next or serde, it can not find a max length and will only thinks that it is infinite. So this is one problem.
Secondly, we think that, maybe, just maybe, in the most case scenarios, non-std environment might not need a high performance async decoding designed for high concurrency. But try to support it requires much design and maintenance work, and might result in almost infinite issues and security vulnerabilities (as no-std environment are so non-standard and diverse). So we just design it to be an optional feature just like the alloc feature and the std feature.
Language layer support is almost the best solution to this problem, yet significant challenges:
- introducing separate async and sync mode make the rust promise of consistency a little bit more complex, as different compile target on the same triple targets will behave differently. And trying to mix compile these two is just another layer of complexity.
- almost the total rewrite of miri logic (as it is now only based on the tree model, although other models are been developed also) and make it become much slower are required, or the miri wg will need to introduce infinite amount of fiber specialfic patches.
- as for the LLVM problem, ah, anyone who had ever keep in touch with the LLVM community would imagine thefriction. Introducing a new api will need all function prologue and epilogue generation logic be rewritten on different platforms. And as for the mad performance regression 0 tolerate nature of the LLVM community, if this new abi introduce any regression to sync code, the patch will just be thrown away...
- not to say the political pressure in the rust community itself, and our LFM and FCP policy.
So the perspective is great, but just we can only wait for a huge commercial company find it useful and decide to push for the changes...