Sven —
Nimbal
Compiled without optimization, MSVC generates this assembly:
To get meaningful results y…
mmm assembly
I guess since eax register is 32 bit, it makes it easier for the compiler than a 8 …
Ok, so struct size optimization is one reason to use fixed-size bool. I guess the next question i…
I come from domains without a fixation on (cache-friendly) performance, but I've disavowed OOP pu…
Thanks I just wanted to be sure I wasn't missing something, also thanks for taking on such a giga…
I haven't put out the game design publicly, and probably won't. It will continue to be a surpris…
I toyed with this idea but I think it's a better idea to do the opposite, because most of the tim…
Would a ground/floor entity be an easy way to get to a nice Z handling system
That way an entity …
I've done some light reading of the forum and the website and I understand the design is final an…
Pseudonym73 Send Casey some email (casey (at) mollyrocket.com) and he'll sort you out.
Thanks, g…
Send Casey some email (casey (at) mollyrocket.com) and he'll sort you out.
Yes, of course. Compiling code is easy (compilers are smart). Reading code is not so. That means …
mmozeiko If you are not careful with this, you will be wasting a lot of space.
Waste is important…
As the title suggests I somehow misplaced my unique link. Is there a way to recover it, or would …
mmozeiko If somebody missed, Casey talked about why he uses bool32 not bool in previous episodes:…
If somebody missed, Casey talked about why he uses bool32 not bool in previous episodes:
https://…
Sven —
C0D3
blah = VirtualAlloc(1000mb
so he can do
mystruct* one = (mystuct*) blah
and that chunk w…
rathersleepy I'm curious if anyone else watched the talk by Melissa O'Neill linked above? She me…
cmuratori One very important one is that it is not clear how big "bool" is, whereas it is very cl…
Nimbal cmuratori I like to make sure that I know the sizes of everything that I put in my structu…
Sven —
cmuratori Performance is usually pretty far down the line of reasons as to why I don't like plain…
cmuratori I like to make sure that I know the sizes of everything that I put in my structures.
C…
I actually recommend against using "bool" for a number of reasons, some of which are mentioned he…
Your compiler should be giving you a warning that you are assigning a value that is too big to fi…
Sven —
Sorry for bringing this old topic back up. I am wondering if anybody ever made any measurements a…
Jeff, I use Illustrator, but mainly because I already had it. If you are interested on doing some…
He said in the previous stream that he will clean up everything when it's all done. He also said …
Sven —
Generally I prefer early exits over deeply nested structures. It makes it much easier to mentally…
I understand and agree with what you are saying. My point was that anything that adds extra deve…
Sven —
Such annotations are not useful because they make the code more readable. Actually I find this hu…