Handmade Penguin is a tutorial for porting Handmade Hero to Linux using the SDL library.
I thoug…
Yes, __rdtsc() is available for gcc. You just need to do #include <x86intrin.h>
sizeof('a') is 4 in C, but 1 in C++
The game, like the series, is also called Handmade Hero :) And yes, this is a forum for talking …
That doesn't sound like something you should have to do. I don't use GCC anymore, but on LLVM yo…
Although I'm not a spec wrangler myself, my understanding is there are definitely a number of the…
As a sidenote, compilers like LLVM also allow you do to this - if you use an enum for the switch,…
My understanding was that the C++ Committee is still hotly debating whether or not variables are …
I heard there will be The Variable in C++17 is it true?
Oh no no no, my friend. Javascript has variables, if you want them to be variables. You can eve…
Totally tangentially, one of the features that I enjoy in D (the programming language) is "final …
I'll be honest, I knew that this topic was going to be excellent from the title, but I didn't exp…
Very interesting article. Goes to show that you should never just assume that your mental model o…
This is another presentation by Jonathan Blow which I found quite interesting: Implementing rewin…
I think this is the quickest way to tell if you're using a C compiler or a C++ compiler:
1int cl…
For C++ the recommended books would be A Tour of C++ by Bjarne Stroustrup and Effective Modern C+…
Don't fight Windows until you know its patterns of behavior/expectations well enough to manipulat…
It's often stated out in the world that "C is a subset of C++". This is not always accurate, and …
Oh god, can I also ride this gravy train all the way to Javascript land? (No seriously, ignore t…
Wow, javascript *and* PHP. This is really top notch. I wonder if we can discover the true nature …
Just thought I'd share that it's possible to compile and run on Linux with Winelib:
1winegcc -mw…
This really needs to have more posts per page, also.. hello!
I would start by learning C before learning "C for Windows" and there's no better book that the C…
I used to programming years ago took a few detours but want to get back into programming and my d…
It's JavaScript _and_ PHP. It's full banacakes.
Why is no one talking about the game yet?? I'm assuming that's what the "Game Discussion" section…
What is this strange place? How did we let Javascript infect it already?
Look, I'm posting! I'm part of things!
This must be the best test topic ever. B)
It got it all covered: variables, test topics, half-…