We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Mārtiņš Možeiko
In short. You just have to take my word for it. If I had penny every time people say this about t…
»
Livet Ersomen Strøm
mmozeiko That could mean your other threads were waiting on some resource (mutex, critical secti…
»
Ben
It's supposed to make things faster. Although, C++ compilers take significantly longer than C com…
»
Ben
Some people avoid typedef struct in C because it pollutes the namespace. OP: by 'modern' ANSI C d…
»
Ben
LCTHW is supposedly full of bugs. I recommend C Programming: A Modern Approach.
»
Ben
BTW, xcb is autogenerated from protocol definitions. Also, it only applies to X. If you use wayl…
»
Casey Muratori
In games it's pretty typical for nearly all strings to fall into two broad categories, both of wh…
»
Casey Muratori
Unfortunately I do not actually have a copy of Photoshop so I don't know. I use GIMP to load the…
»
Ameen Sayegh
what ?! Is Ads Considered a good thing ? I see of ads company as the most greedy annoying irrit…
»
Ameen Sayegh
I'm trying to get Photoshop to output 32-bit A8R8G8B8 bitmaps with no success basically I have an…
»
popcorn
Thanks, I have learned how to do it the C++ and not the C way. I didn't know this.
»
Mārtiņš Možeiko
You can write such code ONLY if Sprite is C struct, not C++ class (or more accurately - plain old…
»
popcorn
So I guess I can't mix them? I don't even know if I am... chunkOfMemory = new char[1024*9000];…
»
Mārtiņš Možeiko
What? new and malloc doesn't create any smart pointer. Just a regular C++ or C pointer which you …
»
popcorn
Grr so when I do a new or alloc or malloc or whatever, it marks it as a "smart" pointer. So someh…
»
Christian Jacob
I don't know if this has been covered yet. Since I am only at episode 10 it could most probably h…
»
Mārtiņš Možeiko
Send an e-mail to Casey (casey (at) mollyrocket.com), he'll help you get your download link.
»
Edu Tarascon
Hi guys, I purchased the game several months ago and I wanted to download the recent code again b…
»
Mārtiņš Možeiko
But the effect I saw, was that during I/O all other threads was simply almost dead. That could me…
»
Jan-Erik Platte
Hi, I just watched epsiode 80 and wanted to outline my assumption of the "sword collision bug". …
»
Livet Ersomen Strøm
mmozeiko The number is correct. Your code uses 50% of logical CPU cores. Yes. That is correct. h…
»
lakmeer
Hi, I've knocked up a quick interactive thingie to demonstrate my proposal for a visual effect f…
»
Mārtiņš Možeiko
The number is correct. Your code uses 50% of logical CPU cores. Using 8 cores still makes sense …
»
Livet Ersomen Strøm
Thanks. But are you saying that the 50% reported is thus wrong? (That they really utilize 100%)…
»
Mārtiņš Možeiko
Most likely you have quad-code CPU with Hyper-Threading enabled in BIOS. That's why 4 threads use…
»
Livet Ersomen Strøm
If you are interested, I'd like you to write code that does the following, on 1, 4 and 8 threads:…
»
The_8th_mage
that sounds kinda good.
»
Mārtiņš Možeiko
Well the first question should be why do you need to allocate persistent string at all? If you r…
»
The_8th_mage
I am fairly new to c++, having worked on c# for at least 5 years. i tried making a function that …
»
Casey Muratori
Well, the problem is that I'm not sure we could actually leverage that knowledge. In order to co…
»