n-body-problem-v
February 1, 2022 ยท View on GitHub
Language
vlang version 0.2.4
How to run
# Using v interpreter
$ v run n-body-problem-concurrent
# Compiled
$ v -pord ./three-body-problem-concurrent.v
$ ./three-body-problem-concurrent
# Run secuential version
$ v run three-body-problem-sequential.v
# Or compiled
$ v -prod ./three-body-problem-sequential.v
$ ./three-body-problem-sequential
# Run three body problem solution
$ v run three-body-problem-concurrent.v
# Or compiled
$ v -prod ./three-body-problem-concurrent.v
$ ./three-body-problem-concurrent
# Run three body problem secuential
$ v run three-body-problem-sequential.v
# Or compiled
$ v -prod ./three-body-problem-sequential.v
$ ./three-body-problem-sequential