does it have native support for
- hinting at likely branches
- prefetching memory
- forcing or blocking inlining
and all the magic in gcc C extensions
Branch hint intrinsic: an accepted RFC but not yet implemented https://github.com/rust-lang/rust/issues/26179
Prefetch intrinsic: Looks like a rejected rfc https://github.com/rust-lang/rfcs/pull/125
Inlining: As far as I understand the attributes are #[inline(always)] and #[inline(never)] respectively.
But it looks like low level optimization is a low priority for the Rust project at the moment.
(prefetch is rejected b/c of insufficient testing and branch hinting might get hampered b/c Rust developers aren't trusted to use them correctly)
Maybe I'll revisit it in the future! Appreciate the help =)