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.
Benjamin Pedersen
Thanks for your reply. I had not really thought about the disk and threading. Can I ask a few foll…
»
Mārtiņš Možeiko
For each file to process you read it fully into memory (C stdio API is perfectly fine for that), d…
»
Benjamin Pedersen
I have a lot of big binary files (usually 300-400 MB). The file format has changed slightly and I …
»
Opoiregwfetags
That's a good idea, too, but it won't work for beta-testers in the future. Thanks for sharing that…
»
Mārtiņš Možeiko
Have your build script delete all temp_*.dll files - whichever it can. If it cannot then meh, leav…
»
Opoiregwfetags
Good idea, too, but I think I prefer bumping the number because your idea requires deleting the dl…
»
Mārtiņš Možeiko
To run multiple instances I would create string based on process id - something like temp_817238.d…
»
Opoiregwfetags
That could work. Unload, try to copy to temp1.dll, else try to copy to temp2.dll, and load again. …
»
Simon Anciaux
If it's not an issue for you and you have a way to differentiate between the different instances, …
»
Tobias Wolf
Why don't you just copy to Temp1.dll and Temp2.dll If you don't know if you are 1 or 2 either you …
»
Adamarla
Yes, the glViewport and glScissor was the problem! I have now set it to: With that, all the lighti…
»
Opoiregwfetags
How would I adapt the hot reloading technique used in HmH to an online game where I want to be abl…
»
Simon Anciaux
Game developers should be able to write code, draw art and compose music. Most of the time a singl…
»
Robert W. Childress
Thanks, Dawoodoz! That gives me plenty more to research and think through.
»
Mārtiņš Možeiko
Right, text shaping is another issue. I'm just saying that if you break two UTF-16 chars that belo…
»
Mārtiņš Možeiko
I don't know for sure, but my assumption is it will do memory accesses. Though maybe that is now d…
»
matwhill
I think some style features are pretty much arbitrary in terms of readability - i.e. nobody has pr…
»
cella
Game developers should be able to write code, draw art and compose music. Is there a study plan or…
»
Allen Webster
Question #1. Does the processor have to do memory accesses for every instruction that looks like a…
»
Simon Anciaux
I use everything lower case with underscore to separate words. Add _t to type definitions (struct,…
»
Simon Anciaux
If I read the code correctly (it has been a while since I watched those episodes), the display of …
»
Miles
Even if you're treating each 32-bit codepoint as a single character, it's still partly wrong (but …
»
cella
What is a good coding style? Of course code style doesn't make a program performant, but what is o…
»
Mārtiņš Možeiko
I agree than UTF-16 was a mistake, but my point was that .NET uses one element per character, whic…
»
Dawoodoz
Unless you are reading the manual for a specific compiler, char is a signed or unsigned integer of…
»
Adamarla
I am behind with the series and have reached day 394. On my machine, the day 394 code does not run…
»
Mārtiņš Možeiko
std::string does not have the same character size and behaviour on each platform, which will be me…
»
Dawoodoz
std::string does not have the same character size and behavior on each platform, which will be mes…
»
cella
I've always felt stupid when reading about the standard library. I thought the implementations wer…
»
Miles
There are good reasons to avoid certain portions of the standard library. Most of the C++ standard…
»