Elektrine lite

← Feed

@saagar@federated.saagarjha.com

Post #2598510

2023-03-19 10:05 UTC

@slomo@toot.cat The runtime of your application probably already depends on more brittle optimizations than this, it’s just much easier to justify them (people like fast arrays and strings) and they get fixed immediately when they break because when that happens it is extremely obvious

Replies (1)

  • @slomo@toot.cat 2023-03-19 10:12

    @saagar@federated.saagarjha.com Are you aware of an example (sorry!) where such an optimization is allowed to change the order of observable side effects (leaving aside UB)? I'm fine with such optimizations and also wrote code that relies on them for performance, but at least if they don't trigger the local, observeable behaviour of the code would not change apart from being slower.

    Open ##2598511