Can someone explain to me what intrinsics are and what they are for? MSDN says that they are "inli…
I've written precedence climbing parsers before, so instead of repeating the exercise, I've decide…
I played around with it a bit, and my asm is a bit rusty, but the difference is roughly: A) B) I…
gun_types[dude->gun_idx].damage and dude->gun_type->damage are basically the same with regards to …
Martins got it. I'd already changed it to just int n = 1024 in my own code since there isn't a str…
Great read, thanks for sharing!
There's was a small typo, should have been So in case A) it would be, load 1 on gun_types base a…
This is good stuff. I'm still struggling to shake my OOP roots from Java in college. I'm curious a…
Never put off until tomorrow what you can do today. ;-)
Yes, there is an indirection. First you load gun_idx from memory by using dude_idx index, then yo…
actually a larger problem is that the value of dude->gun_idx has to be loaded before damage starti…
Thank you. My brain is now at ease :)
A) Is barely extra level of indirection [base + index * size + offset] vs [address + offset] The…
Are there better alternatives that work on Windows and Linux?[/quote] I doubt you'll find anythin…
I also use these kind of enums for constants. Why? Because enum values don't have "type", sometime…
Hi, I have a couple of questions I did not manage to answer myself. They are mostly about C. 1. Wh…
Heya! Thanks for doing this, project based learning is great in my experience.
Thanks for doing this, it is immeasurably helpful to get practical content like you have been pres…
Awesome read! I totally empathize with that feeling where OOP is all you know and you can't help …
This is exactly my point. OS directly gives you 4k aligned memory (via VirtualAlloc or mmap). Why…
Maybe I don't understand the purpose of your MemoryAllocate/MemoryAlignedAllocate functions? From…
Wait, I'm not talking about aligned_malloc. I'm talking about your functions which don't use align…
Thanks for helping us with this! I'm going to update links in the repository to point people here …
As an unrelated topic - valgrind and similar tools won't show up this as memory leak in case you…
Yup, I had fuzzing planned starting as soon as we have a bit more code in place, but maybe I shoul…
Btw, I recommend to use fuzzers to catch these kind of errors in any kind of parser - source code …
Same as with I am sharing Bitwise videos on . For those who doesn't know Resilio Sync - its a pee…
Yeah, Pratt parsing is neat and easy to code, but most people couldn't have invented it from scrat…
That's a good catch with token_kind_name. It's funny I made a big note and then proceeded to use i…