A couple of the more time-consuming/confusing bugs to track down have been from mistakenly passing…
There's a trick I read about on the man page of dlopen. There is another way to assign to a functi…
Absolutely. You have to account for that.
I'm writing some code in an old-codebase and now it needs to serialize out a part of the game-stat…
Hey All, I am here with a question for all of you. I am currently following along with Casey, even…
A little bad news and a update on what's going on. First, the update: I'm writing a simple gui deb…
spx —
This is a quick one, meaning it lacks a bit of testing and I also had to push one missing feature …
r2d2 —
Sorry for multi-posting... I've compiled the code under -O2 instead of -O0 and everything works pe…
r2d2 —
Well, this is fun... During my debugging I've made a completely identical copy of DEBUGInitializeV…
r2d2 —
Me again, still trying to figure out some bugs that came up after I have updated my local code bas…
Hmm, i think a separate page on structs might be good. That or you could maybe have an expanding s…
EDIT: Unity has announced that future versions of its engine will feature a non-verbose math libra…
class IFoo { public: explicit IFoo(const FixVirtualMethodTable _) {} public: virtual void foo() …
If you do find yourself fiddling with Box2D's internals or wanting to hot-reload other code that u…
Interesting, I just tried it at work on Linux (which has a newer i7-6850K CPU, but older GCC 4.8.5…
Oh damn, thanks everyone. I didn't need to export all symbols since I'm not building on windows ri…
No need to modify anything in source code. Just instruct linker to export all symbols. They are no…
It prints out almost the same times for me for ss or ps variant.
Ray —
Hey Murry! Yeah, I know, actually it took me a while to took the decision of avoiding structs memb…
That was my first option but it seems that it would require modifying box2d source code in a way …
The ss (ingle value, ingle precision) version needs to preserve the upper 3 values of the 4 value …
Wow, thanks for the quick replies! (And yea, I'm not very good at this sort of thing, as is appare…
This is not how you do microbenchmarks. Compiler noticed that you are not using result of sqrt (ex…
This is literally a jump to the of sqrtf which lives elsewhere in the executable. jmp does no ac…
(I'm pretty green when it comes to intrinsics and assembly in general) I was poking around the HMH…
I say make a program that does whatever is useful, or what makes sense for the problem you're tryi…
Not sure about object files, but you could simply compile box2d to its own shared library (.dll fi…
If you don't care about API boundaries/layering and just want it to work, then compile the Box2d i…
I've managed to achieve some great success in my little game with hot reloading in a similar way C…
Awesome job man. I have one small suggestion for the cheatsheet page. The struct section doesn't l…