r/C_Programming • u/autistic_lover214 • Oct 15 '26
Question What is C
Hey I'm a cybersecurity student just started 2 months ago
Just wanted to understand what C is as a language why is it so fast compared to other languages like py etc..
Chatgpt and yt videos didn't help me to understand :
- Does c talk to the hardware directly or through a compiler like other languages if yes why is it faster then ?
- I heard something like : c makes code that puts things in a CPU in a specific places not randomly like other languages I'm sorry I don't remember exactly ik it's confusing
- Do you need c for cybersecurity in the red team field
Thank you guys so much can't thank you enough for helping hope I make sense asking questions like these
0
Upvotes
View all comments
1
u/josk613 Oct 15 '26
C is fast even when compared to other compiled languages because its simple. There's no hidden runtime boundary checks, no big generic standard lib, etc.
It only does exactly what you tell it to do, and a lot of the code (data structures and algorithms) are purpose built for a single use case.
Which is also the cause of many security vulnerabilities. There's a lot of room for unhandled errors, missed edge cases, poor memory management...