News for hackers. Stuff that matters.
Re:Next steps for Rust in the kernel by rob74 on Wednesday September 21, 2022 @09:41AM (#32925013)
Cache hierarchy, branch prediction, speculative execution and all of the other performance enhancements of modern CPUs are hidden from assembly too. If you are a real whiz, you may be able to hand-tune your assembly code so that it takes better advantage of one of these features and runs 0.1% faster, but otherwise these features are transparent even to assembly programmers.
Re:Next steps for Rust in the kernel by Twisol on Wednesday September 21, 2022 @02:28PM (#32929215)
Just to mention it here, too (I wrote more in a cousin comment), Intel's own Software Development Manuals [0] explicitly talks about all three of these things. I don't consider these features hidden when the primary reference for programming this platform clearly documents and provides advice on them.

[0] https://www.intel.com/content/www/us/en/developer/articles/t...

Re:Next steps for Rust in the kernel by nextaccountic on Wednesday September 21, 2022 @05:06PM (#32931532)
> 0.1% faster,

The performance gains of fine-tuned code is typically two orders of magnitude higher