Re:P hacking – Five ways it could happen to you
by throwanem on Monday May 12, 2025 @10:40PM
(#43969258)
Why is this bad for you? You're optimizing software, not trying to describe reality. Monte Carlo and Drunkard's Walk are fine.
[ Parent
| on HN ]
Re:P hacking – Five ways it could happen to you
by cortesoft on Monday May 12, 2025 @11:51PM
(#43969525)
Well, what is the test you are using to measure performance? Maybe the optimizations help performance in some cases and hurts performance in others... your test might not fully match all real world workloads.
Re:P hacking – Five ways it could happen to you
by analog31 on Monday May 12, 2025 @10:59PM
(#43969324)
You're churning the user experience for no reason. Maybe constant optimization churn is one of the reasons why UIs are so bad.
Re:P hacking – Five ways it could happen to you
by throwanem on Monday May 12, 2025 @11:15PM
(#43969384)
Perf, though? If a perf optimization changes the UI noticeably other than by making it smoother or otherwise less janky, someone is lying to someone about what "performance" means. Likely though that be, we needn't embarrass ourselves by following the sad example.
No, UIs churn because when they get good and stay that way, PMs start worrying no one will remember what they're for. Cf. 90% of UI changes in iOS since about version 12.
Re:P hacking – Five ways it could happen to you
by babuloseo on Tuesday May 13, 2025 @12:11AM
(#43969596)
I thought languages such as Rust and flamegraphs and etc were supposed to help us avoid doing all this testing and optimization right? Like I use the built in analysis tools that come with cargo and such and what I have on my os, tools like cutter or reverse engineering tools. Even on python I use the default or standard profiling and optimization tools, I wonder sometimes if I am not doing something enough if the default tools thats recommended should cover most edge cases and performance cases right?
Re:P hacking – Five ways it could happen to you
by pizlonator on Monday May 12, 2025 @11:39PM
(#43969476)
Yeah!
And software ultimately fails at perfect composability. So if you add code that purports to be an optimization then that code most likely makes it harder to add other optimizations.
Not to mention bugs. Security bugs even