Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I have no issues writing safe code in C, and I love writing pointer heavy shit. The trick is to make it safe from the beginning because adding in safety later is bound to fail.
-
iamai21074ySanta: wait...I think I have some latex gloves somewhere at the bottom of my bag. *Dips hand in bag and hands over gloves* Here you can type with it and make your code safe.
-
@ebrithil how about if you want safe C, write safe C instead of trying a new language in its infancy.
-
@Fast-Nop you are assuming that the std libs that you are using for c are also safe, we all know that’s not the case always
-
@hardfault I have yet to encounter a bug that is actually in the C standard libs and not rather due to misusage of their functions. Note that e.g. OpenSSL isn't part of them.
-
@hardfault Yeah OK, you got a point, that's a lot of them.
But still, the typical security issues that people attribute to C itself are caused by either misusing the functions, or outright program bugs.
And that's because people hack shit together just so that it works, and then move on to watching Netflix. Or fucking their dog.
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
elgringo41Student - Teacher renaming .c to .exe make the program executable ? Teacher - Yes A group of people stand up...
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
Me: For Christmas I want a unicorn
Santa: Be realistic
Me: Okay I want to write safe code in C
Santa: About that unicorn...
rant
c
santa
c++
christmas
reality