Activity
Mon
Wed
Fri
Sun
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
What is this?
Less
More

Memberships

Ooga Booga Game Devs

3.1k members • Free

4 contributions to Ooga Booga Game Devs
Rationale behind not SIMDing v3 operations?
I was reading through the engine code and saw that the linmath.c file got changed and many of the v3 and v2 simple math operations don't use SIMD anymore. I was just wondering what the reason for this change is. I suspect the reason for the change is that the overhead of setting up the SIMD operations is slower than simply doing the component-wise operations, which themselves would use ILP (instruction level parallelism) to parallelize the operation anyways. Is this correct? I've also heard that on modern CPUs, most floating point operations are done on SIMD registers anyways, does this play into the reason why? or is it just that this is a temporary change and it'll go back to using SIMD?
Rationale behind not SIMDing v3 operations?
Bit flags instead of bools?
in this Entity struct in entry_randygame.c file in randy's fork there are 4 bools, wouldn't it be better performance instead to create a u8 entity_flags and use bit flags instead such as ENTITY_DESTROYABLE, ENTITY_IS_VALID, ENTITY_IS_ITEM, etc?
Bit flags instead of bools?
Why C language?
Hello! I was just wondering why you chose the C language and not C++, C#, Java or even Python? Another point, one of the best top down games I've played and the one that made me want to start trying to develop one on my own is called "Cryofall", see for yourself, I think you'll like it too! Cheers!
0 likes • Jul '24
Python is an interpreted language and it has its uses in certain contexts, however it's really not good for performance-intensive large-scale projects like a video game, for various reasons. Languages like C# and Java are better than python performance-wise but they're still not ideal since the garbage collector bogs down the performance by quite a tremendous amount. C++ is better since it's not garbage collected, and therefore the programmer has more control over the program (and is therefore able to optimize for games better), but C is preferred since it's not as featureful and is far easier to tell what's actually going on at a low-level than something that's more obfuscated such as C++ and it's tendency towards an object-oriented model of programming. You can still program in C++ cautiously without falling into some of the pitfalls of the language (like the way Casey Muratori and others program), but C often forces you into a more straightforward way of programming that helps you better understand the inner workings of the program and things like data structures and how they work for example.
Prerequisites for the Real Brogramming Hours™️
Going into this, I'll be assuming a lot of knowledge for the sake of speed. I'm curious where all of you are at, though. Let me know what the #1 biggest ??? is for you right now in terms of game development & programming. If you're following along with the series, don't worry if certain things don't make sense and you're just blindly copying what I'm doing. We'll circle back around at some point, either via the weekly Q&As or standalone videos going over it in more detail. The important thing here is that you ask questions!
0 likes • Jul '24
Transformation matrix math is definitely the thing I would like to the most focus on.
1-4 of 4
Fahad Alqarni
1
2points to level up
@fahad-alqarni-3908
Aspiring Game Dev, Fan of Low-Level Programming

Active 365d ago
Joined Jul 9, 2024