News for hackers. Stuff that matters.
Re:Programming ARM μC in Rust at four different levels of ab... by leggomylibro on Thursday February 22, 2018 @12:45PM (#16439498)
I don't know much of anything about Rust, and I have a pretty limited knowledge of ARM, but I think that the 'Nested Vector Interrupt Controller' basically just pushes a stack frame and jumps to the memory location specified in a vector table that lives near the start of memory.

That sounds like how C functions are called; does Rust do something different?

Re:Programming ARM μC in Rust at four different levels of ab... by dbaupp on Thursday February 22, 2018 @04:20PM (#16441485)
The fundamentals of pushing a stack frame and jumping is the same, but the details of how arguments are passed (e.g. is a value in registers, or on the stack) and return values returned differ between the calling conventions.