Description
In today's meeting we have decided to jettison segmented stacks. This means that there's no need for this attribute because the purpose of it was to lift the stack requirements higher in the callstack to prevent thrashing.
Removing this isn't just as simple as removing it entirely, as we still need to make sure that any FFI call requires a minimum of 2MB of stack remaining. This means that codegen-wise we will have to continue adding the fixed-stack-segment
attribute, but the compiler will do this in an automated fashion now instead of requiring users to do it manually.
Additionally, this also means that the externfn!
macro should get removed (it was just used to generate the fixed stack segment wrapper).
Nominating for 1.0, this would be awesome to remove.
Note that existing issues had the following problems:
- Default methods did not get the
fixed-stack-segment
attribute - Methods may not be getting the
fixed-stack-segment
attribute