>no strings >characters are ASCII >no 8bit integers,you have to use chars which leads to a shit ton of bugs and undefined behaviour in the long run >names like volatile unsigned long long int >bools are just ints you can assign whatever numeric value you want to your bool variables instead of only allowing true and false >ints are different sizes on different platforms(stdint fixes this though,its sad that nobody bothers to actually use it) >raw pointers >stack overflows and undefined behaviour every 5-10 lines(inb4 you are shit at c) >smaller than my pee pee standard library >no features at all.not even zero overhead ones mostly because of "muh ABI". >header files >the very same code without any modifications sometimes does what you told it to do sometimes its just doesnt care >macro magic cancer
sooooo,why is there no replacement for this piece of shit dinosaur yet?
There is. C is a legacy language like FORTRAN. No one uses it for new projects. It's only use is for maintaining software written in the 80s.
Isaac Foster
>(inb4 you are shit at c) But you clearly are.
Charles Brooks
>hurr durr no one uses it I use it any time I need a high performance library to compliment an application written in a higher level language. You can't beat C for performance and memory efficiency if you know what you're doing which excludes faggot OP.
Aiden Robinson
C Dev here A lot of this stuff is actually true. I always assumed people just switch to cpp when they can't deal with the c bs
Zachary Wright
Name one notable open source project started this decade that uses C.
Leo Rogers
C does has a ton of problems when compared with newer languages but on thing I like about it is that it's much harder to write unreadable unmaintainable C code than in C++.
Jayden Nguyen
The only people who complain about C are people too stupid to use it and pajeets who think java is the only way.
Levi Taylor
>no 8bit integers,you have to use chars which leads to a shit ton of bugs and undefined behaviour in the long run what the fuck do you mean by this
>no 8bit integers,you have to use chars which leads to a shit ton of bugs and undefined behaviour in the long run #include
uint8_t fuck_you = 0xff; >(inb4 you are shit at c) yeah, you clearly are >stack overflows so this doesn't happen in other languages or something? lmao >macro magic cancer wow, finally a valid point
Owen Ortiz
>>when they can't deal with the c bs
>All variable must be declared at top of scope why god, why
Charles Clark
true false false true, although volatile/const/restrict/static... are not types but qualifiers, the multi-word types are abomination false, read _Bool specs false about noone using stdin so? you are shit at programming in general ? true true ? true
you forgot to criticize errno
C++, Rust, D, Crystal, Zig, Haskell, Common Lisp
Christopher Rogers
Systemd and it's already running on millions of machine. Wireguard. Most AAA video games are POD C++ aka C + namespaces.
granted they ported it to C++ but it's now a mix of C and C++ instead of pure C++.
Ryan Clark
>Systemd So literally cancer. >WireGuard WireGuard is not yet complete. You should not rely on this code. It has not undergone proper degrees of security auditing and the protocol is still subject to change. >AAA games Literally who cares? Bunch of boomers who can't learn new technologies.
Jaxson Scott
C stdlib is small Python stdlib is big but it's just an aggregate of C libs. OP is too dumb to download the libs he needs, kek
Carter Phillips
Name one that didn't use C.
Sebastian Campbell
>no 8bit integers,you have to use chars which leads to a shit ton of bugs and undefined behaviour in the long run The fuck are you talking about chars ARE 8bit integers, there's no special data type for characters, they just take the 8bit integers and interpret them as chars.
>ints are different sizes on different platforms(stdint fixes this though,its sad that nobody bothers to actually use it) Because ints aren't the type you should be using if you want the same across all platforms and you don't need stdint. char -> 8 bits short -> 16 bits long -> 32 bits long long -> 64 bits So you know, you don't need to write long long int, you can just write long long, which has the bonus of being the same across all platforms[spoiler][/spoiler].
>bools are just ints you can assign whatever numeric value you want to your bool variables instead of only allowing true and false You can do that with bitfields.
typedef struct bool{ unsigned char a:1; } bool; There you go. And you can pack the rest of the struct with more 1 bit bools saving memory.
>smaller than my pee pee standard library That's the point.
You are shit at C.
Stop using MSVC for C, it's absolute dogshit for it and basically only supports C89, which requires what you're complaining about.
Noah King
>4000 lines of codes >hard to audit Le bootcamp JS dev post.
Cameron Cox
R is for Rude?
Jacob Williams
Docker
Bentley Hall
you are so stupid that you don't even see yourself to be stupid sad
Christopher Young
>next generation proprietary memory allocation techniques. STRINGS, VECTORS, STL, BOOST all this shit slow as f-ck INSTEAD OF USING NAMSPASES CREATE MUH OBJECTS then use em for creating memory leaks everevere
chars, short, int, long and long long are poorly specified and size is not the same on 64 and 32 platforms not Windows and unix. not even mentioning the weird archs/platforms that are still in use somewhere. stdint is there for guaranteed sizes. read the fucking standard and implementation specs char is not always 8-bit, they are also confusing regarding signedness stop spreading lies and poor practices
Luis Jackson
Pipewire
Isaiah Ward
sizeof(char) is always 1 but CHAR_BIT is not always 8
Ayden Evans
>so this doesn't happen in other languages or something? lmao No it doesn't cnile. It's a c and c++ exclusive problem.
Hudson Thompson
>C is a legacy language What percentage of the world's internet infrastructure runs on FORTRAN code? Now, what percentage of the world's internet infrastructure runs on C code?
What percent of the world's infrastructure runs on Cobal?
Grayson Foster
Why doesn't somebody just extend the stdlib and C language to make things safe? Rust could've been a good replacement for C but it's become bloated garbage that takes 10 years to compile anything.
Parker Young
*Cobol
Owen Richardson
C++ and Python are both basically extensions of C . what are you talking about? C is a terrible language and carrying its baggage makes lanagues worse. C++ would be a great language if all the C features were completely removed.
Christopher Parker
>terrible English this itself does >unbelievable level of retardation >tenacity this combination as well
Angel Miller
There's also a bunch of safe C extensions like Cyclone that predate rust that no one was interested in.
Aaron Davis
>C++ C++ is C with a lot of shit added that low level programmers DON'T NEED. >Python Please be joking.
Dominic Nguyen
but he is right in all points
Kevin Morgan
samefag also there were no points
Julian Ward
I would not even refer to myself as a programmer. I only really know python but have read alot since last February, the first time I ever done anything with programming. >no strings True basically No separate string only types build in to standard library. >characters are ASCII Sometimes but not always. >no 8bit integers,you have to use chars which leads to a shit ton of bugs and undefined behaviour in the long run char is a 8bit integer and so is unsigned/signed char. >names like volatile unsigned long long int retarded brainlet op op faggot And, use the proper types. >bools are just ints you can assign whatever numeric value you want to your bool variables instead of only allowing true and false Everything is a number, learn to computer. >ints are different sizes on different platforms(stdint fixes this though,its sad that nobody bothers to actually use it) Use the proper types, brainlet. >raw pointers You're one of those faggots who call regular sex raw dogg aren't you. >stack overflows and undefined behaviour every 5-10 lines(inb4 you are shit at c) you are shit at c, lol >every 5-10 lines Stick to html. >smaller than my pee pee standard library doubt, anyone who is this much of a whining bitch doesn't have a dick. >no features at all.not even zero overhead ones mostly because of "muh ABI". I pretty sure there's plenty of marketing bullshit for c if you look, not on the level of toxic lies from the degenerates who make up the rust community but still some. >header files Yes, they exist. Is it too difficult for you to comprehend why, its really simple. >the very same code without any modifications sometimes does what you told it to do sometimes its just doesnt care You're really really really really shit at c, you're literally doing it wrong and don't know it. >macro magic cancer They do seem to be abused, but the are not difficult to understand.
>no strings C strings >characters are ASCII no one needs pajeet script and nu-mojis >no 8bit integers,you have to use chars which leads to a shit ton of bugs and undefined behaviour in the long run chars ARE 8bit integers you imecile >names like volatile unsigned long long int and it's better than BusinessBeanAbstractFactory also no one uses volatile >bools are just ints you can assign whatever numeric value you want to your bool variables instead of only allowing true and false what part of "non-null == true" you do not understand even if you assign 2 to a boolean it will still work >stack overflows and undefined behaviour every 5-10 lines(inb4 you are shit at c) >the very same code without any modifications sometimes does what you told it to do sometimes its just doesnt care ?? what kind of a retarded complaint this is
obviously you are shit at C
also sage
>header files only valid complaint
Anthony Hernandez
>I don't know how to program C The post
Evan Smith
>DON'T NEED. Then why have they all pretty much migrated to C++? Protip: you're full of shit.
Jaxson Wilson
t. literally never seen, let alone programmed in, C.
Camden Martin
You can just define char_bit to be 8?
Oliver Lewis
That's wrong on the Fortran side, it's a beautiful language. Modern fortran is NOT fortran 77
Ethan Edwards
>this user gets it Bahbee Java programmers who cry because C doesn't hold their hand and put training wheels on their bikes.
You don't have to use C. But stop shitting up the board bitching about something you're not smart enough to use.
Nathan Scott
>stack overflows don't happen in other languages >t. HTML/CSS "Programmer"
>>no 8bit integers,you have to use chars which leads to a shit ton of bugs and undefined behaviour in the long run Wth are you talking about, nigger? A char is an 8 bit int. As for the rest of your arguments, you sound like a python dev. Overflows happen due to bad programming, There's no undefined behaviour in c, Your pointers are not "raw", that's not even a term faggot, your pointers are whatever your os gives you, you are still in virtual addresses, Macros are not part of C, they are specific to the compiler, There's no standard library in C. Libc, glibc or whatever you use is part of the provided c libraries from 3rd parties. >C Dev here >A lot of this stuff is actually true Every piint he makes it's false, but our "c dev here" found some truth in it.
Bentley Hall
Everyone migrated to java since the 90s and now eveyone is split between js and python. Code monkeys can't into programming, they need easy tools to work with. Everyone who migrated from c to c++ did it because you had better enums, classes, function and operator overloading which are nice things to have when you make something really complex, e.g. gaymes. Nobody is jumping now from c to c++, ppl live with c's primitiveness rather than deal with c++'s bloatness.
Noah Wilson
Classes are shit for gaymes, no game developer wants their data thrown all over the place in memory so it takes like 100 times longer to access. C++is so shit even for gaymes than Jonathan Blow is creating a language to replace it.
Benjamin Perez
t. underageb&. Protip: everyone in embedded uses c++ over c.
Jose Cook
>jonathan blowjob >knowing anything about programming ebin
Hudson Reyes
Then why do so many low level programmers use c++ over c? For fucks sake the two most popular C compilers are written in c++. Python is just a slow as shit C interpret with a good library that comes with it. All of it's important libraries are implemented in C. C++ would be an amazing language if they got rid of C support completely.