Skip to content

Conversation

@derpycoder
Copy link

@derpycoder derpycoder commented Nov 6, 2025

It can teach a lot of things, for instance:

  • GPU Instancing
  • Bit Packing
  • Fixed Update Loop
  • Multithreading
  • AoS
  • SoA
  • SIMD

Currently the SIMD implementation is not performant. (i.e. simulate_soa_simd)

Also, the comments are not currently explaining all the things done in the code.


Checklist before submitting:

  • This example has been added to .github/workflows/check.yml (for automatic testing)
  • This example compiles cleanly with flags -vet -strict-style -vet-tabs -disallow-do -warnings-as-errors
  • This example follows the naming and style convention: https://github.com/odin-lang/examples/wiki/Naming-and-style-convention (exceptions can be made for ports of examples that need to match 1:1 to the original source).
  • By submitting, I understand that this example is made available under these licenses: Public Domain and Odin's zlib license. Only for third-party dependencies are other licenses allowed.

Abhijit Kar added 3 commits November 6, 2025 17:54
It can teach a lot of things, for instance:
- [x] GPU Instancing
- [x] Bit Packing
- [x] Fixed Update Loop
- [x] Multithreading
- [x] AoS
- [x] SoA
- [ ] SIMD

---

Currently the SIMD implementation is not performant. (i.e. `simulate_soa_simd`)

Also, the comments are not currently explaining all the things done in the code.
…bs -disallow-do -warnings-as-errors` for compilation.
@derpycoder
Copy link
Author

Bill Hall commented in the forum, where I asked for help regarding SIMD, that:

I am using thread pool wrong and I don’t understand SIMD.

I will update the multithreading section with WaitGroups and learn SIMD before updating the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant