You said: It depends, often it is exactly the same. So I didn't understand what you were referring…
Not sure what you mean by "same". Everything is different. They are not comparable. It's like aski…
What is the same: multiplication vs addition or TLS vs atomics? Also, the link you sent was about …
It depends, often it is exactly the same. MULPS: ADDPS:
I was asking out of curiosity. AFAIK, multiplication takes more cycles than addition. I know they'…
It does not matter which one is slower. You use them in different situations so they will affect p…
Haven't read the link you sent, but what is slower: accessing a thread-local variable or using ato…
Yes, the ThreadProc would look something like this:
I recently bought an Asus Zephyrus G15 (2022) and I was curious to know how much time it would mad…
Alexey —
I've run into the same thought ("what did my professor mean when he said network order is big endi…
Thanks for the link, I will check it out. As for your example, does the globalData of each thread …
TLS storage is allocated in special place that is accessed through register that is set up differe…
But TLS is OS feature that allows to map same "variable" to different places in memory, so differe…
Yes, that's the same thing. By IP packet I mean all kind of IP protocols, which include TCP packet…
Thank you Mārtiņš. Things make much more sense to me now. To be pedantic, you said IP headers i…
Think of it this way - atomics is CPU feature which allows you to inform CPU how to access & manip…
Sending data in "network byte order" (which is big-endian) and conversion "must take a place" is b…
What are the advantages and disadvantages of each approach, and when should I use one or the other…
if you memcpy &msg2 to a 2 char array you will see {0xEF, 0xBE} That's how little endian works. Th…
As I understand it, network byte order is big-endian, while most consumer PCs are little-endian. S…
"very slow" depends on context. Sometimes it can be very slow, sometimes not. If you use them in s…
On day 178, someone asked Casey why did he consider using atomics for the timers instead of using …
Alexey —
Can't comment on 1) right now, but 2) looks exactly like an off-by-one error. Had plenty of those …
zub —
Oh thanks! I didn't think of that. That makes so much sense and it did work.
Casey sometimes leaves code in a bit broken state because he's working on some larger changes and …
zub —
Trying to compile the latest pull from handmadehero github and running into the below errors: ** V…
This article is also available on my blog. I spend a lot of time thinking about development tools.…
First of all, sorry for the late reply. Thank you for trying the program and for your thorough fee…
pinned_directories.png I have uploaded a new Itch.io release of SpookyGhost, my procedural animati…
Not sure what you mean by loading global guids. There are no guids in dll's. What are you loading?…