
Marcin Kalicinski wrote:
It certainly makes life easier, but it also has its cost. Some CPUs for example don't have a FPU, making floating-point compuation expensive. It might be a good idea to use an integral type (with a small unit, such as you suggest above) at least in those cases.
I doubt there will be much need for a GUI for these CPUs. Anyway, the amount of floating point computation involved would be tiny, so most probably software emulation of floating point would be just fine.
You bet ! We were porting the Fresco display server to PDAs such as the Sharp Zaurus or the Compaq iPaq (platforms which are targetted by the Qt toolkit, for example). Neither has/had a floating point unit, and as a result, rendering was quite slow. (Well, Fresco has full 3D support, so all coordinate transformations were actual 3x4 FP multiplications.) I can't see any reason why one would not expect boost::gui to run on these platforms. Regards, Stefan