I've used libsoundio. It was really easy to use, had decent examples/documentation. I did experien…
Then I moved it over to the GPU with OpenGL compute shaders and go it down to 9 seconds. This ca…
I am currently processing research data with the GPU. The original algorithm took about 45 minute…
GPGPU is literally using the GPU for General Programming (i.e. non graphics work) :) In terms of a…
Is using GPU for non graphics intense apps worth like database related apps for use in integrated …
Right now the code is only for Mac/Windows/Linux, so I'm not worried about other devices. I have …
One more thing, I tried using anonymous structs inside anonymous unions and got an error that "its…
I have 3 structures like this: typedef struct { double x; double y; v2 velocity; texture_t image…
What do you mean by name collisions?
Be careful using anonymous structs in the union, however; this can lead to name collisions.
Yes, you can access the members inside the unnamed structs by name, which is why I find this metho…
That seems to be a nice way to handle something like this. Let me just see if I understood what yo…
For this specific case you could do: typedef struct { particle_t particle; } player_h; typedef st…
Here's one possible way of doing it: // You don't necessarily need these: typedef Entity Player; …
Hey Handmade community, Feverishly working on my Kiss engine project, I have everything for a 2D g…
Ok, thanks for the help, you guys are awesome. Can I ask one more question? I have 3 structures li…
Effectively, yeah; it , however, still a method of organizing data in a non-OOP way. It differs fr…
Not a huge amount has changed since the last update, the main thing is probably that insobot now h…
@Delix: Your method is more a way to achieve polymorphism without virtual functions. I think what …
The Win32MainWindowCallback function is, as its name imply, a callback function, meaning that it's…
A union says the following: "This block of memory can be interpreted to mean of the following thi…
I think I get what you're suggesting, but I have a technical question about your structure. Wouldn…
Following up on what mmozeiko said, I recommend creating a single state struct and using it diffe…
You evil human being! You just pulled a 'to be continued...' on us and it killing me!
I don't have a final answer for the long-term just yet, but in the beginning, I'll be giving acce…
For the month of April, we did the following: This month we hit the books hard, learning all abou…
Greetings, I'm on day 003 (just starting). I'm debugging win32_handmade.exe using Visual Studio'…
The code fragment you posted is not handling data in OOP way. Are you asking how to write code tha…
So, I'm still learning so this question might be dumb, but here it is: Imagine the following code …
The heart of Cascade it it's layout engine - the second most complicated thing in the app. (Scale …