I'm going to start writing a 3D game in unmanaged C ++ using the DirectX SDK. This will be due to a lot of physics and mathematics, although I can not predict how difficult it will be (I do not know if I will parallelize it, for example). I thought because of F # the incredibly amazing unit of measure of the function , and the fact that it functions and therefore perfectly parallelizes, that I could write an F # library to perform mathematical calculations of the game. But:
pure
Is it worth it? Is mixed managed and unmanaged code common practice? What about games? Will this be a bottleneck? Will my drawing code be horrific and confusing? If you opened the VC ++ project and saw this, then what would your face look like ( :) :( D:etc.)
:)
:(
D:
. , , , , .
, , F # . , , XNAMath ( DXSDK) .
(PhysX, Bullet ..), , , , . , .