top | item 39828806 (no title) hardware2win | 1 year ago There are side effects, but in real world, not abstract discuss order hn newest dkersten|1 year ago So non-obvious side effects?You can say that about any code at all, so no optimising would ever be possible. The program running faster is a side effect after all. thfuran|1 year ago No, that code has no side effects. The implementation is free to produce whatever side effects it wants or needs as part of execution, but that is absolutely none of the compiler's business.
dkersten|1 year ago So non-obvious side effects?You can say that about any code at all, so no optimising would ever be possible. The program running faster is a side effect after all.
thfuran|1 year ago No, that code has no side effects. The implementation is free to produce whatever side effects it wants or needs as part of execution, but that is absolutely none of the compiler's business.
dkersten|1 year ago
You can say that about any code at all, so no optimising would ever be possible. The program running faster is a side effect after all.
thfuran|1 year ago