[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1787103921509605.jpg (71 KB, 1242x853)
71 KB JPG
What's your excuse for not knowing C in 2026, /g/?
>inb4 "Codetrans are obsolete and vibeGODS are replacing them"
take a rope and hang yourself, you won't be missed
>>
>not studio.h
>>
File: sh.png (602 KB, 3840x2131)
602 KB PNG
>>109592975
I know C, but it feels like the gap between a bad and a good C programmer is immense.
>>
>>109592975
I learned C++ first. Should I try learning C or will I be unable to now?
>>
>>109593040
its never been easier to learn anything, just ask ai to explain whatever it is you dont get to you.
& of course if you can learn a language, you can learn any language.
>>
>>109593058
it's never been easier to learn nothing, just ask ai to do it for you and copy paste the result.
>>
>>109592975
i never bothered to learn C because i don't like the paradigm. if you want to make useful software, you have to use libraries that try to mimic OOP which becomes very ugly
>>
>>109593040
C is super easy to learn, there are like 20 keywords worth knowing/using, the hard part is building something with it.

Anyway, if you've used OS-level APIs in C++ (unix sockets, pthread, open/read/write/close/fcntl or their windows equivalent, etc.) then you should be good.

At first it'll feel like it's missing something when you genuinely need a container (hash maps, rbtrees, btrees), but these are super easy to implement and you'll learn tons of stuff every time you implement one of them. I also learned C++ first, and I have implemented at least 5 different hash maps, using chained keying, using linear probing, using tombstones, etc..

But sometimes, when doing C, you tend to focus too much on the implementation details, rather than the logic. It's not really something that can be avoided if you want to write clean C code.
>>
File: 1775232360304.jpg (1.29 MB, 3464x3464)
1.29 MB JPG
>>109592975
>take a rope and hang yourself, you won't be missed
cope more codetrans, vibeGODS are here to stay and kill them
you can shit your pants but you LUDLOST
>>
>>109592975
>What's your excuse for not knowing C in 2026, /g/?
Why would I use C? I'm not writing a kernel 10 years ago.
>>
>>109593097
Bosnian nigger like you are literal subhuman scum who loves being a fucking shabbos goy. What a cuck behaviour
>>
I'm too retarded to learn to code. I tried learning python but my attention span was so short that i kept forgetting everything i just read
>>
File: 1731733213315394.png (191 KB, 869x802)
191 KB PNG
>>109593083
>thing.function();
vs
>function(thing);
THE HORROR
>>
>>109593265
Bosnia will become more hated than India on this board at this rate
>>
>>109593366
python is far more complicated than C. it's really not a beginner language, contrary to what everyone says.
>>
>>109593393
easier to tell at a glance which code is calling library methods, and which code is my own function calls
>>
>>109593404
I wouldn't know, I don't know either of the languages. Maybe some day
>>
I have a few books on learning C, and I've never attempted to program before reading them, and I've pretty much got the basics of the syntax down good enough for now.
I don't know what to try to build with my knowledge though.
Nothing really seems fun except gamedev and os programming but that stuff is kind of advanced compared to where I'm at.
What do you guys think is a good beginner project that'll lead to skills usable in gamedev and os dev. Also, I'm doing this mostly as a hobby
>>
>>109593453
graphics programming is very rewarding, but the mathematical overhead may be intimidating.
still, it's not impossible to start messing around with it.
one thing that might be a good exercise towards that is to program up a pbm/pgm/ppm library.
these are three related image formats that are extremely simple to implement, and you can use a program like imagemagick to convert them to more common formats.
maybe try to make program that renders the mandlebrot set, and then write out the image to one of the above formats using your library, and then convert it to a png using imagemagick to view in e.g. your browser.
this project would exercise your byte array skills, and file i/o. it would also result in neat image with little effort.

by os dev, i assume you mean systems programming, where you interface with the kernel. assuming you are using linux, use google to figure out the names of certain functions that the kernel exposes, then use the man pages to learn how to use them and go to town. old unix books may also point you in the right direction.
>>
>>109593097
You will never be a real programmer. You have no skill, you have no knowledge, you have no ambition. You are an untalented loser twisted by prompts and chatbots into a crude mockery of an engineer.
All the “validation” you get is two-faced and half-hearted. Behind your back people mock you. Your parents are disgusted and ashamed of you, your “friends” laugh at your “impressive” projects behind closed doors.
Programmers are utterly repulsed by you. Thousands of years of evolution have allowed coders to sniff out frauds with incredible efficiency. Even vibecoders who “pass” write uncanny and unnatural code. Your project architecture is a dead giveaway. And even if you manage to get your PR accepted by a project, they’ll turn tail and bolt the second they gets a whiff of your long, em dashes in comments.
You will never be happy. You wrench out a fake smile every single morning and tell yourself it’s going to be ok, but deep inside you feel the depression creeping up like a weed, ready to crush you under the unbearable weight.
Eventually it’ll be too much to bear – you’ll buy a rope, tie a noose, put it around your neck, and plunge into the cold abyss. Your parents will find you, heartbroken but relieved that they no longer have to live with the unbearable shame and disappointment. They’ll bury you with a headstone marked with your failures, and every passerby for the rest of eternity will know a vibecoder is buried there. Your codebase will decay and go back to the dust, and all that will remain of your legacy is a git history that is unmistakably slop.
This is your fate. This is what you chose. There is no turning back.
>>
>>109592975
thoughts on c99?
>>
>>109592975
I read Stroustrup’s criticisms of how annoying it is to write robust programs in C that can handle arbitrary input properly
And so I never bothered learning portable PDP assembly
>>
>>109594194
im not sure if i use any feature that doesnt exist in c99
but i might, im not stubborn when it comes to c's versions

>atomics
i use sometimes atomics and _Thread_local qualifier
thats c11, no?
>>
>>109592975
I haven't used C in 16 years. I learned Rust and figure I can just relearn C if it ever comes up.
>>
Zig and D --betterC are strictly superior
>>
>>109592975
>What's your excuse for not knowing C in 2026, /g/?
because I use TypeScript at work and vanilla JavaScript for hobby projects at home.
I don't have any use case for C
>>
>>109592975
I hate header files and I have no use case for low-level programming.
if i were to try a low-level language it would be zig.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.