Thanks for the detailed explanation. I think I get it now. I have some remaining questions:Does th…
Callee does not know and does not care which registers caller uses. Caller itself knows which regi…
It will copy only those non-volatile registers which it wants to use after function. If caller doe…
So a function will copy all the non-volatile register content to the stack at the beginning and re…
So a function will copy all the non-volatile register content to the stack at the beginning and re…
Volatile/non-volatile is explained in the calling convention: "Consider volatile registers destro…
I'm currently learning about calling conventions on windows, both x64 and x86. As far as I know, c…
The Windows API docs state that, by default, an edit control shows and hides the selection highlig…
Hey so I also found an algebraic argument for the way the normals transform. Do you have something…
Hello. It's been awhile since I've posted here, but I've just encountered an issue I'd be grateful…
That looks a lot longer evaluation than this:
There was a lot of thinking to figure out why doing the elimination converted the Identity to the …
Thank you so much Mārtiņš. Strange, why this was not segfaulting. BTW Mārtiņš do you have a …
In server.c this line: file_cursor += byte_counter; should actually be this:
I'm trying to copy a files using TCP. I only intend for this to be over localhost (so MTU is 65536…
That article is really nice, I can recognize some of the function names from the codebase of react…
Seems that dlclose never actually unloads the library image from the address space and just reuses…
So, then if there is only one OS thread that will be executing N fibers, then how does it make sen…
Having such global variable should not change how rest of code works. It should work. You are expe…
Hi folks, I have a code reloading system similar to the one detailed in Day 21 and I've recently b…
One of the recent topics I dove into for my project Todool was Spell Checking. Obviously spell che…
Hello, I was reading the code of reactjs and it uses fibers to process the virtual dom. And I foun…
Hmm I see yeah I don't know why I would want to paint when its moving...
I see, that explains why I wasn't getting the WM_PAINT message when I was calling just UpdateWindo…
The main reason to have drawing in WM_PAINT is because that is only code executed when you are mov…
The UpdateWindow function updates the client area of the specified window by sending a WM_PAINT me…
On day4 we have the animated weird gradient. To do this we have a backbuffer to which we write the…
This article is mirrored on my blog. In my last article I wrote about integrated development envir…
i see, so there is no need to make the whole memory reachable in each thing that is unionized