News for hackers. Stuff that matters.
Re:GCC Rust: GCC Front-End for Rust by chrisseaton on Sunday January 10, 2021 @01:14PM (#25717564)
getelementptr is just some pointer arithmetic - all backends can do that.

And using signed integers is unusual yes, but again all backends (obviously) also support signed integers.

Re:GCC Rust: GCC Front-End for Rust by steveklabnik on Sunday January 10, 2021 @01:41PM (#25717923)
IMHO, "Just some pointer arithmetic" is selling it a bit short. There's a lot of stuff there around provenance that matters, that is, there's a reason this is an intrinsic and not just a subtraction after casting both to an int.

(I agree on the signed integer thing though.)