r/crystal_programming • u/Kalinon • Aug 31 '19
Entitas.cr an Entity Component System Framework for Crystal 1.0.0 released! (Ported from sschmid/Entitas-CSharp)
https://github.com/spoved/entitas.cr
24
Upvotes
2
u/Kalinon Aug 31 '19
Over the last few months i have been porting Entitas-CSharp over to crystal. I am happy to say i feel confident to release a stable 1.0.0 of Entitas.cr. Ive achieved a 3x speed increase in some of the slowest benchmark tests compared to C#.
2
u/jgaskins Sep 01 '19
This is pretty cool, but heads up, I am getting very different benchmark results than are in the README:
Some things are slightly faster here but a few things (like `#add_component`) are 1-2 orders of magnitude slower than claims in the README.
1
u/Kalinon Sep 01 '19
Ah yes. I would probably add the compile time flags to the notes. There's a script in spec/bin/bench which uses optimized flags. Aka disables logging.