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.
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…
»
cella
So if I want to support many Operating Systems, I have to write an implementation for each of them…
»
Mārtiņš Možeiko
Thing about relying on libraries is that you are adding extra dependency to your code. If it works…
»
cella
I do apologize for my lack of knowledge in advance. Recently I started programming, and I was casu…
»
Dawoodoz
Assert is not useful for division by zero checks, because of the low chance of being caught in deb…
»
»
Simon Anciaux
We don't control when Windows will switch between the two buffers. And there is no guarantee with …
»
Gaurav Gautam
On day 29 at 19:49 minute mark, @cmuratori says, that because the patblt happens before the stretc…
»
Robert W. Childress
Quick sanity check for my mouse selection process and a question about ray casting in general: I'm…
»
Opoiregwfetags
Thanks for this. I can really see myself using it more often than the normal array view.
»
Mārtiņš Možeiko
It is written in pretty much same style as games, running "main loop" as fast as you can: As long …
»
Simon Anciaux
I don't think 4coder does anything special for latency. But there are some think you can do. Have …
»
cella
When you type, the input is displayed on the screen instantaneously, without any noticeable delay.…
»