by IshKebab · 3y ago · 0 comments
What facilities does Rust's sort require? It probably just needs a bit of stack but that's it.
That qsort implementation doesn't look like it needs anything either tbh, though I only skimmed it.
Maybe they could permit some of their sort library functions to be used in such a constrained environment, sure. Don't need rust to do that, just need to be happy that the implementation is suitable for purpose. Which they would have to do regardless of what language and runtime they were using.