What would be the equivalent of the following code in Nim (especially the 
`rigidbody_t` structure and `physics_integrate` function)?

[https://pastebin.com/gXkBtHCE](https://pastebin.com/gXkBtHCE)

I want to create job functions running on (long-living) worker threads (#cores 
- 1) that can act on batches of data (Structure of Arrays or Array of 
Structures aligned to cacheline) to reduce cache misses.

Is there an easy way to do this in Nim? 

Reply via email to