Re: [PATCH] rust: Add PowerPC support

From: Peter Zijlstra

Date: Wed Feb 04 2026 - 08:13:24 EST


On Wed, Feb 04, 2026 at 12:55:17PM +0000, Alice Ryhl wrote:

> Is there any reason to not make it Rust-only but for all Rust code?
> Making the / operator work seems like it would be a good idea.

Why would it be a good idea to have it work on non-native types in Rust?

The reason we don't have them in C is because non-native divisions are
expensive and doing them should be a conscious choice. The very same
argument should be true for Rust code too.