News for hackers. Stuff that matters.
Re:Make Ubuntu packages 90% faster by rebuilding them by pests on Tuesday March 18, 2025 @11:58PM (#43408162)
Mario 64 gets flak for some files not being compiled with optimizations on. There is a YouTuber, whose name I forget at the moment, who has been doing optimization and improvements on it and constantly talks about how this is for the better due to the low instruction cache size and slow speed on the console. Compiling with optimizations explodes code size (unrolling links, inlining, etc) to the point it’s a net loss after factoring in the increased load on the IC.
Re:Make Ubuntu packages 90% faster by rebuilding them by chasil on Wednesday March 19, 2025 @04:52AM (#43409588)
The -Os flag optimizes for size.

What impact does that have?

Re:Make Ubuntu packages 90% faster by rebuilding them by rurban on Wednesday March 19, 2025 @09:21AM (#43411594)
The IC is the instruction cache. Bloated code needs more slow loads from the IC, and even if the performance is faster per cache line, the 50x overhead of added cache loads diminishes all -O3 advantages.
Re:Make Ubuntu packages 90% faster by rebuilding them by tjalfi on Wednesday March 19, 2025 @02:54PM (#43415959)
Kaze Emanuar[0] is the YouTuber you're thinking of.

[0] https://www.youtube.com/@KazeN64

Re:Make Ubuntu packages 90% faster by rebuilding them by pests on Thursday March 20, 2025 @01:28PM (#43426182)
Yes thank you!