I have been taking a look at the nbody benchmark results from Benchmarksgame,
and I'm really curious about how Fortran and C implementations manage to use so little memory..
The fastest Rust implementation of nbody uses much more memory than the C implementation, but if I examine the assembly code output of the two different implementations, I can't really find the big difference in memory usage..
Could it be an issue with the auto-import of Rust Std ?? C++ also uses much more memory than C.
I'm looking to see if it is possible to reduce memory usage of the Rust implementation of the nbody benchmark. Any advice would be appreciated! Thank you