Why Is C SO Dangerous? #programming #coding #lowcode

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
if you want to make a girl like you no thank you now the reason that c is an unsafe language is because you can do things like this the integer array has 496 bytes allocated to it but I can index into and set the 7,000th byte in that array and then also access that memory and the crazy part is that the GCC compiler doesn't care I can literally do GCC Taco bad bad. C the program doesn't care and it just creates a crashing State now obviously you're probably thinking I know you were I was too you know why would I ever code like this I would never select the 7,000th element well what if for example we gave the power to the user to do this over the Internet index I come in from the network that equals 7,000 and then we set array of I equal to some value this is how the majority of all memory corruption bugs happen you have an array you have an access or a read outside of that array and C has no way to check it subscribe for more tips
Info
Channel: Low Level Learning
Views: 2,125,276
Rating: undefined out of 5
Keywords: raspberry pi, pico, rpi, microcontroller, arduino, maker, craft, hobby, electronics, wires, temperature, safety, project, board, electric, leds, led, thonny, python, micropython, os, ide, onewire, ds18b20, circuitpython, review, launch, measure, probe, rp2040, specs, specifications, how to, guide, programming, Pico emulation, retro games raspberry pi pico, etaprime, eta prime, raspberry pi pico, arm cortex m0+, low cost
Id: L2UMyb9PIHI
Channel Id: undefined
Length: 0min 51sec (51 seconds)
Published: Thu Mar 07 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.