Miguel Martin

Results 49 comments of Miguel Martin

> Isn't that supposed to be optimized away by branch prediction, though? Perhaps, but I don't think that's guaranteed (is it?). Anyhow, I now know that something similar to what...

I've made a simple library [tac](https://github.com/miguelmartin75/tac) to help fix this issue. Basically what is contained within the library is a "type aligned container" (hence tac), which is a container "adapter",...

Nice catch, I think you're correct.

No, not as of yet. I am working on it in the [`develop`](https://github.com/miguelmartin75/anax/tree/develop) branch. I will still have to write some benchmarks (perhaps with a written game that is quite...

Interesting, I'm going to have to see if I can reproduce on Linux. I wouldn't have expected that this would occur. What compiler are you using? GCC 4.9?

Hm before you could compile your program and now you can't? Try this: ``` c++ main.cpp -lanax -std=c++11 ```

That message means it can't find libanax.so.2. You have to give the compiler the path to where libanax is located, if installed by cmake this will likely be in /usr/local/lib....

If you compile with `-fsanitize=address` does it produce the same error you were describing?

> for example, iterating over arrays/vectors of components using an entity id That code you provided is iterating over arrays of components using an entity ID; the entity class is...

I'm not convinced that it belongs in this library, I don't see why you wouldn't just use a signal/slot library or another library (e.g. just basic abstract [virtual] interfaces). I've...