No strings

>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?

Attached: ingyenes_konyv_kezdoknek_c_programozasi_nyelvrol_57c466ba8f5d9.jpg (730x411, 30K)

Other urls found in this thread:

store.steampowered.com/app/371970/Barony/
github.com/TurningWheel/Barony
twitter.com/NSFWRedditImage

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.

>(inb4 you are shit at c)
But you clearly are.

>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.

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

Name one notable open source project started this decade that uses C.

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++.

The only people who complain about C are people too stupid to use it and pajeets who think java is the only way.

>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

Attached: 1540775742262.png (771x723, 680K)

>no strings
?

then tell me what language is it.and please dont say c++ because it inherits most of the cancer from c

babbys like wrappers around sequences of memory

*blocks your path*

Attached: ezvghj.png (400x200, 12K)

>sooooo,why is there no replacement for this piece of shit dinosaur yet?
A replacement already exists.

Attached: Rust_programming_language_black_logo.svg.png (1200x1200, 56K)

>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

>>when they can't deal with the c bs

>All variable must be declared at top of scope
why god, why

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

Systemd and it's already running on millions of machine.
Wireguard.
Most AAA video games are POD C++ aka C + namespaces.

store.steampowered.com/app/371970/Barony/
github.com/TurningWheel/Barony

granted they ported it to C++ but it's now a mix of C and C++ instead of pure C++.

>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.

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

Name one that didn't use C.

>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.

>4000 lines of codes
>hard to audit
Le bootcamp JS dev post.

R is for Rude?

Docker

you are so stupid that you don't even see yourself to be stupid
sad

>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

Attached: MEMORY_ALLOC.png (699x701, 269K)

>4000 lines of code
>notable project

>Docker
Literally cancer.

oh wow this retard again

>t. sysadmin monkey whose job was automated away

oh wow

You sure showed me up.

>sysadmin
lol

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

Pipewire

sizeof(char) is always 1 but CHAR_BIT is not always 8

>so this doesn't happen in other languages or something? lmao
No it doesn't cnile. It's a c and c++ exclusive problem.

>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?

Attached: dont-bait-me.png (800x400, 26K)

linux

it make (You) unhappy?

What percent of the world's infrastructure runs on Cobal?

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.

*Cobol

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.

>terrible English
this itself does
>unbelievable level of retardation
>tenacity
this combination as well

There's also a bunch of safe C extensions like Cyclone that predate rust that no one was interested in.

>C++
C++ is C with a lot of shit added that low level programmers DON'T NEED.
>Python
Please be joking.

but he is right in all points

samefag
also there were no points

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.

Attached: What Would John McCarthy Say if He Saw You Programming_ - good coders code, great coders reuse.jpg (450x583, 57K)

>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

>I don't know how to program C
The post

>DON'T NEED.
Then why have they all pretty much migrated to C++?
Protip: you're full of shit.

t. literally never seen, let alone programmed in, C.

You can just define char_bit to be 8?

That's wrong on the Fortran side, it's a beautiful language. Modern fortran is NOT fortran 77

>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.

>stack overflows don't happen in other languages
>t. HTML/CSS "Programmer"

Attached: 15392128-three-girls-with-different-haircolor-laughing-together.jpg (1300x919, 246K)

R is for regress.

>Stack overflwos are exclusive to C and C++
Sir please do the needful and look up what a stack overflow is.

Attached: pajeetjava.gif (849x458, 168K)

>>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.

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.

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.

t. underageb&.
Protip: everyone in embedded uses c++ over c.

>jonathan blowjob
>knowing anything about programming
ebin

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.