News for hackers. Stuff that matters.
Re:xz: A Microcosm of the interactions in Open Source projects by saagarjha on Monday April 01, 2024 @07:32PM (#39900647)
xz sees continual improvement to e.g. make it faster. ifuncs are an important part of that. If you want to use the garbage slow version of xz that’s up to you but I don’t think most people would want this.
Re:xz: A Microcosm of the interactions in Open Source projects by account42 on Monday April 08, 2024 @11:31AM (#39970741)
> xz sees continual improvement to e.g. make it faster.

Yes, that makes sense.

> ifuncs are an important part of that.

No, IFUNCs have absolutely zero performance benefit over regular function pointers for internal functions. If anything, they can limit optimization oppertunities the compiler has with other approaches. The only benefit IFUNCs bring is being able to avoid another indirection when replacing already exported library functions in their entirety. That's what they are there for - different optimized implementations for things like memcpy in glibc.

Re:xz: A Microcosm of the interactions in Open Source projects by saagarjha on Wednesday April 10, 2024 @06:53AM (#39989252)
Sure they do: they’re transparent to applications.