HyperCodec / gravity-sim

A simulation of a bunch of particles and gravitational pull between them.
0 stars 0 forks source link

Better abstractions and bugfixes for multithreading #7

Open HyperCodec opened 1 week ago

HyperCodec commented 1 week ago

The multithreading currently implemented isn't great and it's also kind of copy-pasted. Maybe make a sort of async.zig API to make it easier?

HyperCodec commented 1 week ago

Also creating threads every single step is not ideal.