"C IS KING" - /g/ (#106167807) [Archived: 252 hours ago]

Anonymous
8/7/2025, 12:11:59 AM No.106167807
csuxx
csuxx
md5: 0f1d4c5cb423173c352965e6240dce51🔍
lmao... passing raw data and casting pointers everywhere, what a stupid language
but maybe... you feel smart doing so? TOP KEK
keep dealing with stupid low level errors kids while chads build real apps with real non toy languages
>b-but compilation time
yeah and debugging time is 100x longer in C LOL
>m-more portable!
on posix only KEK, pthreads don't even exist on windows while std::thread compiles and runs on linux, macos and windows LOL
Replies: >>106167884 >>106167936 >>106168003 >>106168020 >>106168024 >>106168087 >>106172272
Anonymous
8/7/2025, 12:13:47 AM No.106167833
GweH07YWsAAzzwc
GweH07YWsAAzzwc
md5: 07cba1776f7fe6d419c27cadc6dd1aee🔍
>only dalit use low level language saar, only brahmin aryan may do the needful with Python saar
Replies: >>106167859
Anonymous
8/7/2025, 12:17:04 AM No.106167859
>>106167833
nice try rajeesh, we all know the curry street shitter is YOU
Anonymous
8/7/2025, 12:19:00 AM No.106167884
>>106167807 (OP)
> The zoomer cannot accept power and freedom even in his choice of programming language. Absolute servitude to a higher power is always his desire.
Replies: >>106167911 >>106167948
Anonymous
8/7/2025, 12:20:50 AM No.106167911
>>106167884
its about being efficient
good for you if you can afford to be inefficient and lose your time
Anonymous
8/7/2025, 12:23:18 AM No.106167936
>>106167807 (OP)
The c++ standard library is a bloated abomination. The C code generates substantially less assembly. I am all for cost free abstractions. But the standard library misses the mark.
Replies: >>106169645
Anonymous
8/7/2025, 12:24:12 AM No.106167948
>>106167884
I guarantee 95% of the people who actually program on /g/ are not writing anything that benefits from the "power and freedom" of C.
Replies: >>106167990
Anonymous
8/7/2025, 12:25:18 AM No.106167965
Rust has none of these problems. Truly rust is a language for the white man.
Replies: >>106168423
Anonymous
8/7/2025, 12:27:56 AM No.106167990
>>106167948
There are plenty of C/C++ programmers here. "Memory safety" is a meme that appeared inorganically 3-4 years ago and is completely uninteresting to people who have been using real languages for a living for decades.
Replies: >>106172286
Anonymous
8/7/2025, 12:29:11 AM No.106168003
>>106167807 (OP)
Damn, C really is king.
Anonymous
8/7/2025, 12:31:13 AM No.106168020
Screenshot from 2025-08-07 00-30-52
Screenshot from 2025-08-07 00-30-52
md5: 89baa57b340692f14909a0d0cb15a2b9🔍
>>106167807 (OP)
sounds like youre seething, anon
Replies: >>106168044
Anonymous
8/7/2025, 12:31:40 AM No.106168024
>>106167807 (OP)
I know you don't know this, but Sephiroth programs in C.
Anonymous
8/7/2025, 12:33:59 AM No.106168044
kek
kek
md5: f1cd16209fc92997690b4348017671a1🔍
>>106168020
even you admit it KEK
Replies: >>106168057
Anonymous
8/7/2025, 12:35:14 AM No.106168057
fast-boi-sort
fast-boi-sort
md5: 77c8f89504b594653a7211fd66a343b8🔍
>>106168044
????
resetting an index is confusing to you, somehow?
Replies: >>106168080 >>106168400
Anonymous
8/7/2025, 12:37:26 AM No.106168080
>>106168057
it was a joke cause you're writing c = 0... your variable as the lang ... meaning c sucks ...
didnt think id have to explain that one ......
you killed the mood dude
Replies: >>106168107
Anonymous
8/7/2025, 12:37:47 AM No.106168087
>>106167807 (OP)
try to program a midi interface with some other shitty language, i dont give a fuck about your technical details and worries, i use C because its the most suitable option for me, all apps are real apps, you fucking faggot, i dont need to do ultra specific and obscure shit all the time, i need results and C give me that
Anonymous
8/7/2025, 12:39:09 AM No.106168107
Screenshot from 2025-07-29 00-32-00
Screenshot from 2025-07-29 00-32-00
md5: 28310e974def18d399081cce538ed029🔍
>>106168080
no you just made a convoluted joke
as retribution i will now make your eyes bleed
Anonymous
8/7/2025, 1:04:59 AM No.106168342
What is it about C that makes people seethe so much?
Replies: >>106168433 >>106168454 >>106168558
Anonymous
8/7/2025, 1:10:54 AM No.106168400
>>106168057
Truly cnile
Replies: >>106168460
Anonymous
8/7/2025, 1:13:12 AM No.106168423
>>106167965
>Truly rust is a language for the white man.
You would be banned from every rust community if you wrote that with your real name.
Replies: >>106168484
Anonymous
8/7/2025, 1:13:54 AM No.106168433
2 -wolves
2 -wolves
md5: ff245af6f4825db0bfb7623139cab63f🔍
>>106168342
perception of the language
its presented as something hard so midwits feel the need to do c to prove themselves
as opposed to use it as a tool, which has specific usecases
inevitably they get burned
then they seek revenge

theres also the shills
crabs have a good reason to try to demean c because they want to replace it
same with sepplefags
as to why exactly they do that i guess theres as many different motivations as there are shills
unresolved conflicts from childhood, monetary gains, politcal agendas, the need to see the world burn...
Anonymous
8/7/2025, 1:15:12 AM No.106168454
>>106168342
Rust was part of the Obama-Biden era woke astroturf that used undesirables to remove the competent old guard from all positions of authority and influence. It was possibly part of the final act of the "long march through the institutions".

c/c++ are part of the "Four Olds" that have to be torn down so we can all live in a utopia.
Replies: >>106169052
Anonymous
8/7/2025, 1:15:54 AM No.106168460
>>106168400
48 M paths sorted in 40 seconds without employing proper optimization techniques?
senile?

if anything its the equivalent of waking up with a raging erection
Anonymous
8/7/2025, 1:15:55 AM No.106168461
The problem with C/C++ isn't memory safety, it's the "header files, linking, cmake" circus you have to go through. It's the eco system that's the problem. Lack of memory safety can be seen as a feature in some cases, not a negative.

Memory safety (e.g Rust) has its place and I can see the appeal in a lot of use cases, but there are also many cases where the programmer KNOWS what they need to do and doesn't need a compiler to tell them they're not allowed
Replies: >>106168495
Anonymous
8/7/2025, 1:18:26 AM No.106168484
>>106168423
My name is Graydon Hoare. Rust is for the white man.
Replies: >>106168538
Anonymous
8/7/2025, 1:19:20 AM No.106168495
gov-distrust
gov-distrust
md5: 92cd77e58eb7abce5bcc88ed169c167b🔍
>>106168461
>header files, linking, cmake" circus you have to go through.
if this confuses you
you probably shouldnt be doing programming
especially not in C
Replies: >>106168555
Anonymous
8/7/2025, 1:23:09 AM No.106168538
>>106168484
write that in a gist in your github account
Anonymous
8/7/2025, 1:24:47 AM No.106168553
C-huds BTFO. C lang sucks.
Anonymous
8/7/2025, 1:24:51 AM No.106168555
>>106168495
>you're not a real programmer if you don't engage in our obtuse ritual
and people say Java devs are cargo cultists
Replies: >>106168625
Anonymous
8/7/2025, 1:25:20 AM No.106168558
>>106168342
outdated design
Anonymous
8/7/2025, 1:32:06 AM No.106168625
>>106168555
theres nothing obtuse about all that
headers are retardedly simple
you include text. thats it
its hard to imagine how that could be obtuse or confusing
and given that you can work with compiled libraries headers are also a self documentation mechanizm

linking. another retardedly simple concept
its just putting your program together from multiple sources

cmake. i never used cmake
i was gonna post my habitual makefile but have a makefile where i use sdl so that you dont screech that the project was too simple
NAME := gaym.7

CC := gcc
CFLAGS := -O3 -march=native -funroll-all-loops -pipe -fgnu89-inline -g
# CFLAGS_BUILD := -O3 -march=native -funroll-all-loops -pipe -Wall -Werror -Wextra -fgnu89-inline

SDLFLAGS := -lSDL2 -lSDL2_mixer -lSDL2_image -lSDL2_ttf -lm -lGL -lGLEW

SOURCE_DIR := src/
INCLUDE_DIR := inc/
CURRENT_PATH := $(PWD)

SOURCES := $(shell find . -name '*.c')
INCLUDES := $(foreach path, $(sort $(dir $(shell find $(CURRENT_PATH) -name *.h))), -I $(path))

all :
clear
$(CC) $(CFLAGS) $(SOURCES) $(SDLFLAGS) -o $(NAME) $(INCLUDES)

debug :
clear
@echo "=compiling debug version="
@echo
$(CC) $(CFLAGS) $(SOURCES) $(SDLFLAGS) -o $(NAME) $(INCLUDES) -DSHOW_RENDERING=1

this shit is at the same level as a docker-compose file

if you cant deal with what has been outlined above
you probably shouldnt be working with programming
Replies: >>106169033
Anonymous
8/7/2025, 2:07:46 AM No.106169033
>>106168625
>Comparing it to docker compose like it's a good thing
There's a lot of things to defend about C/C++, but your example isn't one of them. I like them, but it heavily suffers from the "N-no! The added work and verbosity k-keeps out retards!" mentality that is going to be the death of them as they continue to fall in popularity. It isn't a question of sufficient IQ to write a header file and linking, it's a question of "why are we still dealing with header files and linking in the current year?" Too many autists think that even an inch of movement to modernity may as well make it react web dev tier. C++ modules are a thing but even those are still a mess.
Replies: >>106169241 >>106169255
Anonymous
8/7/2025, 2:09:59 AM No.106169052
>>106168454
what are the other 3?
Replies: >>106169102
Anonymous
8/7/2025, 2:13:58 AM No.106169102
>>106169052
The "Four Olds" were specifically:
Old Ideas:
This included traditional Chinese philosophies, Confucianism, and any thought deemed to be bourgeois or counter-revolutionary.

Old Culture:
This encompassed traditional art, literature, music, and any other cultural expressions not aligned with communist ideology.

Old Customs:
This included traditional rituals, social norms, and family structures that were deemed to be outdated or feudalistic.

Old Habits:
This covered a wide range of behaviors, including religious practices, traditional forms of entertainment, and anything else that was not deemed modern or socialist.

The Red Guards, encouraged by Mao Zedong, actively sought to destroy these "Four Olds" during the Cultural Revolution.This led to widespread destruction of historical sites, cultural artifacts, and religious institutions, as well as attacks on individuals associated with traditional practices or beliefs.
Replies: >>106169128
Anonymous
8/7/2025, 2:17:12 AM No.106169128
>>106169102
yeah I googled it and already past the phase of embarrassment
thanks though
Replies: >>106169137
Anonymous
8/7/2025, 2:18:12 AM No.106169137
>>106169128
I actually thought you were just breaking my balls. It's all good bro.
Anonymous
8/7/2025, 2:28:24 AM No.106169241
>>106169033
>"N-no! The added work and verbosity k-keeps out retards!" mentality
>that is going to be the death of them as they continue to fall in popularity.

c doesnt need to be popular
and i dont give a shit to make it so
c is supposed to suit certain usecases
which it does. making it popular is bloat
which is more code to debug for the compiler people
and more ways to write the exact same which decreases maintainability

>why are we still dealing with header files and linking in the current year?
already told you
its a self documenting mechanism
and the c community is not gonna cater to zoomershits bc... its should look more like java!

you dont like c
youre not made for c
ok
stay away
simple as fucking ass. use sepples or rust or whatever
>but i wanna c
fuck off nigger were full
Replies: >>106169255 >>106169311
Anonymous
8/7/2025, 2:29:37 AM No.106169255
>>106169033
>>106169241
also
>why linking
because portability, you retard
youre talking out of your ass
Replies: >>106169311
Anonymous
8/7/2025, 2:33:47 AM No.106169287
>bc portability
and size
and versioning/upgrades
theres multiple reason why you want your software to be modular

you dont even know the basics but you have opinions
what the fuck is wrong with the new generations?
Replies: >>106169311
Anonymous
8/7/2025, 2:36:58 AM No.106169311
>>106169241
>>106169255
>>106169287
>Has autistic meltdown over 3 sequential replies as soon as his objectively archaic paradigm is challenged
Top kek, a tale as old as time. Do you have a "Popularity is bloat!" sticker on your ThinkPad?
Replies: >>106169410
Anonymous
8/7/2025, 2:47:34 AM No.106169410
>>106169311
>talks about me
very flattering
but youre digressing because you have fuck all to say about c besides "but i dont like headers!!!"
Anonymous
8/7/2025, 3:10:17 AM No.106169645
>>106167936
>generates substantially less assembly
Use case for minimizing assembly size? I rather have shit be fast
Replies: >>106169705
Anonymous
8/7/2025, 3:15:58 AM No.106169705
>>106169645
C++ is bloat is not fast. Especially in the above example where the C code goes directly to the raw APIs, whilst the c++ garbage goes through a heavy abstraction.
Replies: >>106169865 >>106172233
Anonymous
8/7/2025, 3:30:59 AM No.106169865
>>106169705
>heavy abstractions
I'd be surprised if it's more than a single function call of overhead
Anonymous
8/7/2025, 8:49:19 AM No.106172233
>>106169705
and yet all C compilers are written in C++. curious
Anonymous
8/7/2025, 8:57:33 AM No.106172272
file
file
md5: ce59b0718d8d1652e31fb348c0506ac2🔍
>>106167807 (OP)
Opinion discarded.
Anonymous
8/7/2025, 8:59:46 AM No.106172286
>>106167990
>"Memory safety" is a meme that appeared inorganically 3-4 years ago
lmao, clueless LARPing zoomer moment