News for hackers. Stuff that matters.
Re:GCC Rust Approved by GCC Steering Committee by cogman10 on Monday July 11, 2022 @08:47PM (#32064194)
> The only missing piece is moving overflow values onto and off of the stack.

Already addressed and not really that hard of an issue to solve. Hardware already has all the logic embedded in it to be able to load or store memory into/from registers.

The logic would mirror the logic done by compilers when they are allocating registers and deciding what needs to be evicted to the stack.

The only missing piece is where that memory should be, but that's really as simple as having either the OS or the application logic allocate a special memory region for the purpose of register evictions and loads.

There are no comments on this comment yet.