Home

N-body problem implemented in Fantom language.

The problem follows the spec and the example algorithm

However, I've have made the implementation more OO (I think) with a small "spin off" library/pod for vectors in 3d (see fantom-vector3d) and giving more responsibilities to Body class.

Test the performance with:

fan nbody -n 50000000