"pestimization is the opposite of optimization", I love this guy, Andri I love you man, and I am probably the first person to write that new word 'pestimization'.
1:02:04 FP division is required to produce a correctly-rounded result, same as other IEEE 754 basic operations (+ - * / and sqrt). i.e. your mantissa divider unit has to produce an exact result, just like integer division. But it only has to be 53 or 24 bits wide (or slightly more to know which way to round), not 64 or 32 bits wide. A narrower division is cheaper. Also, integer division takes a dividend with twice the width of the divisor. e.g. 64-bit / 32-bit => 32-bit division. (Again assuming x86). Less fundamentally, FP division is more commonly used than integer division so the HW is better optimized. (Even for scalar, let alone doing 4 or 8 in parallel with SIMD). It's a single uop on Intel CPUs, vs. integer division being microcoded as ~10 uops. (agner.org/optimize/ )
You should also show the actual slides while he's talking. He's explaining "prefer this guy to that guy", and you can't even see the slide, or what he's talking about.
Totally disagree with do not take the minimum. Profiling games, its the average and the spikes the player sees! They are what affect the framerate. You want to find the times when your cache is missing loads.
why does Sheryl Sandberg or any upper management get paid more than him? Seriously. am I backwards in thinking this. is management nothing more than overhead that can be eliminated most of the time. not specificly facebook management but management in general. this is difficult material that takes many years to master.
it takes a team! And the salary of an employee is not related to the value he/she provides. If a factory worker sells pencils, the guy making the pencil doesn't get paid more than the guy selling it even though in your eyes he/she should because it takes a while to master the art of making a pencil right. You can say that about people who make pizza, burgers, bean counters, ship welders, etc. So don't single out management when that is just a part of the whole team.
"pestimization is the opposite of optimization", I love this guy, Andri I love you man, and I am probably the first person to write that new word 'pestimization'.
1:02:04 FP division is required to produce a correctly-rounded result, same as other IEEE 754 basic operations (+ - * / and sqrt). i.e. your mantissa divider unit has to produce an exact result, just like integer division. But it only has to be 53 or 24 bits wide (or slightly more to know which way to round), not 64 or 32 bits wide. A narrower division is cheaper. Also, integer division takes a dividend with twice the width of the divisor. e.g. 64-bit / 32-bit => 32-bit division. (Again assuming x86).
Less fundamentally, FP division is more commonly used than integer division so the HW is better optimized. (Even for scalar, let alone doing 4 or 8 in parallel with SIMD). It's a single uop on Intel CPUs, vs. integer division being microcoded as ~10 uops. (agner.org/optimize/ )
You should also show the actual slides while he's talking. He's explaining "prefer this guy to that guy", and you can't even see the slide, or what he's talking about.
Kayak Fan it's actually on screen at around 48:20, he's talking about a[i++] vs a[++i]
My bio - I wrote it!
The more you measure the more the mode moves to the minimum.
This guy is fkn hilarious and super smart.
tough crowd but great talk
John Allard Those who code aren't exacly the most heart warming people lol
It's the venue. Code dive is always like that. Sticks in the mud!
Totally disagree with do not take the minimum. Profiling games, its the average and the spikes the player sees! They are what affect the framerate. You want to find the times when your cache is missing loads.
He literally address this in 22:05 where he says that sometimes we care about the worst-case scenario. Look at the talk before commenting.
why does Sheryl Sandberg or any upper management get paid more than him? Seriously. am I backwards in thinking this. is management nothing more than overhead that can be eliminated most of the time. not specificly facebook management but management in general. this is difficult material that takes many years to master.
it takes a team! And the salary of an employee is not related to the value he/she provides. If a factory worker sells pencils, the guy making the pencil doesn't get paid more than the guy selling it even though in your eyes he/she should because it takes a while to master the art of making a pencil right. You can say that about people who make pizza, burgers, bean counters, ship welders, etc. So don't single out management when that is just a part of the whole team.
13:13
cocle:clive