3 ms·
Fixed-stack is not the end goal. The intent is to migrate back towards small, growable stacks. There were long discussions over how "smart" the extern stack-si
by kibwen 13y ago
Fixed-stack is not the end goal. The intent is to migrate back towards small, growable stacks.
There were long discussions over how "smart" the extern stack-size strategy should be. The current arrangement is, as ever, a compromise. In practice, most people writing bindings to C from Rust will wrap the C call into a very thin wrapper function whose job is to handle type conversions and managing the necessary `unsafe` bits. The hope is that putting the annotation on these wrapper functions won't be very onerous, with the result that any Rust code that calls the wrapper functions won't ever have to bothered with remembering the annotations.
- portmanteaufu 13y agoMakes sense, thanks! As an outsider it can be tricky to know which things in the release notes are "This feature is ready" vs "This is simply the present state of things."
- steveklabnik 13y agoRust is basically entirely 'this is simply the present state of things.' :)
- chrismorgan 13y agoPlus there's also rather a lot of non-codified knowledge about what's happening and going to happen. But if you pay much attention to the mailing list and stay in #rust you'll pick up an awful lot of it.
- dbaupp 13y ago(Also, TWiR: http://cmr.github.io/blog/categories/this-week-in-rust/ http://cmr.github.io/blog/categories/this-week-in-rust/)