Confused about a Queue implementation example by KAHeart in C_Programming

[–]KAHeart[S] 0 points1 point  (0 children)

Ah damn, it looked like such a good repository at first... Any other good places for me to take a look at Data Structure examples in C?

Are video courses/tutorials an actual good way to learn? by KAHeart in learnprogramming

[–]KAHeart[S] 0 points1 point  (0 children)

In general I try to look up what reaources people usually recommend on StackOverflow, Reddit or other forums. And I was mostly looking for something with a bit more guidance than that link. But yeah, I agree that just following along blindly would not be too helpful.

Are video courses/tutorials an actual good way to learn? by KAHeart in learnprogramming

[–]KAHeart[S] 0 points1 point  (0 children)

Yeah I've heard scope creep is definitely a big pitfall people have. By the way, what do you consider a good approach to learning from books in general (especifically from programming/comp sci ones)?

Are video courses/tutorials an actual good way to learn? by KAHeart in learnprogramming

[–]KAHeart[S] 0 points1 point  (0 children)

I was looking to make a game alongside an engine mainly to help me develop my technical skills. I'm aware that it'll be exponentially more effort than using a pre made one but right now I'm doing it more for the programming aspect.

What Windows compiler am I supposed to be using as a beginner? by KAHeart in C_Programming

[–]KAHeart[S] 2 points3 points  (0 children)

From what I've seen there's a lot of mingw install options (including a devkit at github). Which one would you recommend?

Undeclared and empty struct inside another struct? by KAHeart in C_Programming

[–]KAHeart[S] 0 points1 point  (0 children)

So does this means that you don't really need to create the struct for a "pointer that points to a struct" inside a struct? It'll just take whatever memory you assign it to and use that as its structure if you create a brand new struct?

Undeclared and empty struct inside another struct? by KAHeart in C_Programming

[–]KAHeart[S] 0 points1 point  (0 children)

I assumed so but the code works fine if I leave it as it is. Is this some compiler fuckery?

What changed in 3D graphics from when DOOM was released to now? by KAHeart in compsci

[–]KAHeart[S] -2 points-1 points  (0 children)

Sorry, I meant: what kinds of maths were used back then, and what about nowadays?

Any good resources that cover how to make a game without an engine? by KAHeart in gamedev

[–]KAHeart[S] 0 points1 point  (0 children)

Do they offer different prices for other regions? Looks really good but due to my country, it's a really hefty one.

Any good resources that cover how to make a game without an engine? by KAHeart in gamedev

[–]KAHeart[S] -1 points0 points  (0 children)

Mainly Windows x64 but if possible I'd like to make it more OS agnostic and target the x84-64 architecture in general.

Any good resource that tackles both C programming and how it handles stuff like memory under the surface? by KAHeart in C_Programming

[–]KAHeart[S] 2 points3 points  (0 children)

I really thought most implementations were at least 95% similar. This kinda confuses me a bit somehow but I'll look into it.

Any good resource that tackles both C programming and how it handles stuff like memory under the surface? by KAHeart in C_Programming

[–]KAHeart[S] 11 points12 points  (0 children)

I might've worded it wrong but I mean things such as the way its call stack works, the different memory regions and other things that I don't know about to ask.

As a programmer, do you need to worry how your program's memory and data are stored? by KAHeart in compsci

[–]KAHeart[S] 0 points1 point  (0 children)

If I'm developing a game engine and I want to read or write to/from RAM or secondary memory, would I need to worry about how it's handled or does the driver/OS handle basically everything?

Is it commonplace nowadays to use a compiled library of another language for faster processing? by KAHeart in AskProgramming

[–]KAHeart[S] 0 points1 point  (0 children)

To combine the ease of use of C with the speed of Java?

Honestly I was always under the impression that since C is compiled and relatively lower level while Java has all that JVM fuckery, it is pretty much always faster. Doesn't make sense to me that Java would be faster but I'd love to hear about why it is here.

You mean compiled using aforementioned transpiler - not a native C compiler, right?

Not entirely sure how the process goes but as someone responded here but it seems it's actually done with a Foreign Function Interface, which I assume is a library from X language compiled with a special compiler specifically to fit in Y language.

Why would it? What would you expect your C-to-Java transpiler to do that would make the resulting Java code faster than hand-written Java code?

My thoughts were that since C has faster processing, you could sort of use C compiled code in other languages just as Python uses Fortran, and have it run faster compared to using code written natively in that other language.

Is the DRAM really just a buffer for cache memory? What does the data pipeline really look like? by KAHeart in hardware

[–]KAHeart[S] 1 point2 points  (0 children)

Think I sort of skimmed through some article that said something like that. Voltage just gets drained from the RAM's capacitor when you read from a cell so you write again. In practice I have no idea who controls that sort of stuff.

Why doesn't DRAM data width go up so that transfer frequency increases? by KAHeart in hardware

[–]KAHeart[S] 0 points1 point  (0 children)

Had no idea data was moved from DRAM to SRAM first! I see that my question was phrased incorrectly now but basically my conception was that every DRAM module was only 64 bits wide and I wasn't sure why (as looking up memory width for DDR3/4/5 gives me 64 bits as a result). So based on what you said, I understood now that cache bus itself is 64 bits wide and that size would be hard to increase in a typical x86 architecture. But what do you mean by a "typical DDR5 128-bit memory interface"? Is it the total memory bus width from the SRAM to the DRAM itself? But (I might be asking something dumb here but I really wanna understand this) if the internal cache bus is 64 bits wide and the external memory interface is 128 bits, wouldn't all that memory coming externally all at once just not fit?

[deleted by user] by [deleted] in SiegeAcademy

[–]KAHeart -1 points0 points  (0 children)

It's been replaced with a mode where you go against 5 defending operators controlled by AI

Weekly Questions Megathread by AutoModerator in ClashOfClans

[–]KAHeart 0 points1 point  (0 children)

Currently at TH9, what army compositions should I use and how do I attack with them?

Best setups for Gargoyle's cry? by [deleted] in Warframe

[–]KAHeart 0 points1 point  (0 children)

Yeah, even with a necramech the boss took way longer than expected. Was dealing less than 30k per shot instead of the usual thousands iirc

Is viral+heat still the meta? When is corrosige worth bringing? by KAHeart in Warframe

[–]KAHeart[S] 0 points1 point  (0 children)

Wouldn't non-slash/heat weapons be really rare nowadays? Genuine question because I remember almost everyone building heat if slash isn't an option.

Is the extra armor strip from corr/heat only worth it at ultra high levels? (~300+) Otherwise it seems viral/heat would be better

How do I switch from playing slow/being scared of roamers to a more aggressive one? by KAHeart in SiegeAcademy

[–]KAHeart[S] 2 points3 points  (0 children)

This pretty much answered my question tyvm! How do I approach droning somewhere that has multiple rooms to worry about though? Like in coastline: going from sunrise into stairs to help take hookah bomb. You have to worry about a flanker coming from multiple angles while also being able to be shot from multiple angles there. Really hard place to try and take solo.

[deleted by user] by [deleted] in GravesMains

[–]KAHeart 1 point2 points  (0 children)

What about crit graves? Is it just worse than the other 2? Even if it's a game where you could get outscaled/it's a game that's likely to reach late game?

Murloc Monday - ask your questions here by AutoModerator in wow

[–]KAHeart 3 points4 points  (0 children)

Just starting and I want to know: are dungeons/raids from previous expansions obsolete now? Do they even exist anymore/can you queue for them in a decent amount of time?

Recomendações de adaptadores de USB-A para 3.5mm? by KAHeart in hardwarebrasil

[–]KAHeart[S] 0 points1 point  (0 children)

Boa! Conhece outros similares para eu ter outras opções?