top | item 45465057

(no title)

rcoveson | 4 months ago

Speaking from a place of long-term frustration with Java, some compiler authors just absolutely hate exposing the ability to hint/force optimizations. Never mind that it might improve performance for N-5 and N+5 major releases, it might be meaningless or unhelpful or difficult to maintain in a release ten years from now, so it must not be exposed today.

discuss

order

recursivecaveat|4 months ago

I once exposed a "disableXYZOptimization" flag to customers so they could debug a easier without stuff getting scrambled. Paid for my gesture for the next year signing off on release updates, writing user guide entries, bleh.

Eridrus|4 months ago

So it's better to hardcode your specific library name and deal with the same issue after people have reverse engineered it and started depending on it anyway?

MichaelZuo|4 months ago

That seems valid for customers expecting a warranty or support. But they should allow it if customers waive all such in writing.

Dylan16807|4 months ago

Warranty and support specifically for that flag? Because I don't see how general warranty and support requires keeping any hint flags forever.