[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / 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: 150760 - SoyBooru.png (95 KB, 799x799)
95 KB
95 KB PNG
Wtf is this shit? what do you mean C is good enough for me? Get on with the times and don't make it harder than it needs to be.
>>
File: 1754355428888630.png (937 KB, 1305x1483)
937 KB
937 KB PNG
Why do people choose to write stuff in C only as a last resort
Like I'm writing an emulator for a retro game console, not even a very complex one, and every other github project that does what I'm doing either is C with preprocessor macros up the ass or ugly C++
And rust looks even more eye searingly painful, you couldn't force me to use that garbage lmao
>>
>>107812206
Skill issue. C filters brutes.
>>
>>107812262
It's strange cause C isn't that hard to write in as long as you follow its rules. All the alternatives just look like gobbledygook.
>>
>>107812269
Indeed. Very small, terse language, but I guess it requires extra mental unwrapping that shitskins don't possess.
>>
>C is good enough for me
imagine being proud of being retarded lmao /g/oys are something else
>>
>>107812364
>t. seething
lisp- or rust- trany?
>>
>>107812188
I write everything in C, what else am i gonna use lol
>>
>>107812379
opencl C, kek
>>
when I write C, it feels like I have freedom that I don't have in other languages. like, I don't have to follow some idioms (even Go has these) about how to do things, I just do the sensible thing and it's good.
I also (mostly) don't have to worry about the language hiding things from me, I think learning some newer "simple" languages is actually a lot harder because not only you have to learn the language, you have to learn the rules of the garbage collector, when does copying happen and when it doesn't and even the stdlibs are full of shit that you're not supposed to use and I'm talking languages that were made in the last 20 years!
>>
>>107812418
C is full of shit you aren't meant to use and you don't have to know anything about GC, can't say the same about UB
>>107812368
I'll let you guess, since your buggy brain cannot process the truth anyway.
>>
>>107812452
>you don't have to know anything about GC
simply wrong
>>
>>107812452
oof
so mad.
stay filtered i guess
>>
>>107812462
There's a town in India where they throw shit at eachother and they told me same thing after I looked at them in disgust and left.
>>
>>107812465
>t. pajeet
explains alot
>>
>>107812460
You never wrote any relevant software, memory usage patterns were never an issue for you and will never be.
>>107812468
Yea it explains a lot that jeets and /g/eets use same non-arguments while rolling in shit and I'm the filtered one lmao.
>>
>>107812477
>I'm the filtered one
yes, you are.
>>
>>107812485
Sorry, I refuse to drink cow piss and roll in cow shit.
>>
>>107812489
didnt ask, but ok i guess
>>
>>107812497
But you did ask. That's what using C feels like anyway, and you enjoy rolling in your own feces and drinking piss of unknown origin all the same.
>>
>>107812500
>pathetic attempt at being insulting
>key word: attempt
you sound underage.
>>
>>107812514
>someone who rolls in feces doesn't really care about anything
I know, and you confirming this is sort of an admission that you do roll in feces.
>>
i kind of understand why people just say fuck off to rusties .Kind of annoying people coming at you and telling you how shit it is even if it's the most common language with c++ that you'll need for low level interaction.
I guess they're pretty happy now but the bloat is going to be horrible.
>>
>>107812528
thats very specific. and you seem obsessed with that. or traumatized.
you must be seeing alot of that in your cuntry
>>
>>107812477
oh you are here to argue just for the sake of it, I get it. hope you get help before you do something you and your parents will regret
>>
>>107812536
If you had to C more than your own fizzbuzz you'd say practically the same thing but luckily you can just pretend that C isn't a jeet language for retarded jeets like yourself.
>>
>>107812546
>no, u
too late for that, chandrajeet
you obsession with piss and shit kinda gave your game away
>>
>>107812557
>obsession
did you even see your own language?
>#define malloc(x) piss(x)
>#define free(x) shit(x)
>>
>>107812557
anon, you are arguing with someone with sub 70 IQ, please spend your time more wisely
>>
>>107812565
>redefines function names for no reason at all
yea, no wonder youre filtered.
c is just too powerful for you
>>
>>107812568
hes not gonna go away.
i might as well recycle him into a human piƱata
>>
>>107812569
>>redefines function names for no reason at all
what is that even supposed to mean? it's just something I copy pasted directly from libc
>>
>>107812580
>what is that even supposed to mean?
low iq strikes again. no wonder c is not your cup of tea
>>
>>107812592
>glass of piss
>tea
what did the /g/eet mean by that
>>
File: laughing_caprio_jesus.png (266 KB, 400x400)
266 KB
266 KB PNG
>>107812607
>i say cup of tea
>it conjures a glass of piss in the mind of the other anon
youre entertainingly insane
>>
>>107812626
C is definition of piss and shit, here in developed countries, we flush those in the toilet, poojesh.
>>
>>107812667
developed countries? like india?
>>
>indian thinks India is a developed country
>doesn't understand that C is obsolete much like shitting in the streets
>>
>>107812686
>india
you were pretty clear thats where you live, chandrajeet
>>107812465
>>
>>107812701
With that reading comprehension, it's no wonder you're still unemployed.
>>
>>107812704
nuh uh
theres no taking it back my friend
no amount of no-u's is gonna change what you said
i think its even too late for you to delete that post
>>
>>107812711
Don't need to keep deleting or changing anything when I write it correctly the first time, unlike you and your jeeted programs.
>>
File: pepe-laugh.gif (72 KB, 640x610)
72 KB
72 KB GIF
>>107812726
well, you try to squirm away from your admission to be indian
i thought thats gonna be the next logical step for you

but right, i forgot
logic isnt your...
...cup of tea?
>>
You were literally all given by the whitest of men the best C successor there could in theory exist but refused. Now bear the fruits of your ignorance.
>>
If I lacked logic I'd be defending rolling in feces like you are doing right now.
>>
>>107812753
no, thanks, ill pass
its not the same usecase
>>
>>107812756
yeye, whatever, stay mad
>>
>>107812774
stay rolling in feCes
>>
>programming language designed by white men, still relied on by everything that works
>gets paired with streetshitting due to hard filtered brainlets
>>
>>107812765
Just use betterC if you're into low level and let your users mix it with high level. It's a given in D.
>>
>>107812778
ill leave that to you. you're obsessed with the thing, its only a matter of time until you will succumb to your pulsions
>>
>>107812782
>nosedives 200 people into the ground and they all die
>works
>>
>>107812786
no, thanks, ill pass.
im not interested in high level features
so im not gonna be interested in D
>>
>I'm not interested in getting things done
average cnile, is this why they use malloc everywhere?
>>
>>107812828
betterC facilitates low level a lot also, has the same syntax and adds no overhead
>>
File: rustrannies.webm (2.61 MB, 853x480)
2.61 MB
2.61 MB WEBM
>>107812845
>t.
>>
>>107812848
heres the thing: i need c's features.
if the language doesnt have the same features as c im not interested
and if it does- then whats the point in learning it?
>>
>>107812877
Which language doesn't have functions?
>>
>>107812880
???
its not the only feature of c.
and by c i mean c + compiler extensions
>>
>>107812892
>compiler extensions
not standard, not C, I accept your concession
>>
>>107812897
completely moot. i still prefer it over any alternative
>i accept your concession
and i accept your tactical retreat. which happened the second i mentioned the modern way of doing c
i guess d isnt as good as you think it is
>>
>>107812908
>I prefer rolling in feces with a dash of piss to dilute it a bit because I can't enjoy it too raw you know
yea I completely get you man
>>
>>107812912
>completely obsessed with scat
and this is the kind of people who are attracted to d.
got it.
>>
>>107812877
that's fair if you feel fine within the constraints of C, but many folks who like C sometimes need to also build high level stuff basing upon the low level libs they built and D is perfect for that
>>
>>107812920
that's another guy, not me
>>
>>107812923
its only a matter of interfaces.
you bulid upwards and at the top level working with c is really not much different from working with a higher level language
most people get lost in c because theyre bad at interfacing.
in my case i prefer c exactly because i can tailor the interface to the specifics of the objects im working with
>>
>>107812931
yeah, sorry about that.
i thought the other unbecile was trying some mindgames by pretending he's two different people
>>
>>107812941
>yeah, sorry about that.
you seem used to saying that, experience from all the race conditions and buffer overflows you keep causing eh?
>>
>>107812937
Higher level languages don't have retarded braindamaged interfaces like
>negative value is an error
>0 is special edge case meaning EOF
>positive number is amount of bytes read
In C, you can never hide this, in real languages, you just type read(file) and it works, it's only C that needs 5 lines of code to express same thing.
>>
>>107812947
nope. my code is robust and thats why i have no need for a crutch
>>
>>107812957
kek. imagine getting filtered by something that simple
>>
>>107812937
and that's good. I also think that C is really cool and like reading it but just don't find myself skilled enough to flawlessly program in it -- and D serves me well in using other people's C libs and building on top of them
>>
>>107812975
I cannot imagine getting filtered by
Result<Option<usize>, Errno>
, tell me more about how simple things filter you.
>>
>>107812957
that's beautiful actually, thanks for reminding me why C is still the king
>>
>>107813000
So true, if err != -1 if err != -1 if err != -1 is very beautiful, nothing better can ever be done.
>>
>>107813010
If anything, that would be the last in the list of things that are bad in C
>>
>>107813025
I can tell that you never wrote software that matters, if you actually checked if basic stuff like printf actually succeeds, you wouldn't be LARPing right now.
>>
>>107812977
totally fair
im very comfortable with c because i have 300klocs of it under my belt
and yeah, you have to be very well drilled to be efficient with c.
not only for purely technical reasons, but also because c demands very good work methods to achieve correctness and robustness, and the ability to plan ahead your interfaces.
that takes sheer experience, its not something that can be learned or taught.

and its obvious that not everyone finds themselves in a situation where they write almost exclusively c for several years
im working on a project in c since several years now, and thats how i accumulated that experience
>>
>>107813010
>t. doesnt know you can wrap your error checking in a function or a macro
and thats why you need a language that does it for you. got it.
>>
>>107812206
for vibe coding its horrible language, it segfaults and you don't know what happened, in other languages you get proper errors.

>hahah you got filtered
yes
>>
>>107813053
>wrap error checking in a function or a macro
Ah yeah I can just if (err) abort() everywhere, such a brilliant design, much like .unwrap() to crash over half of the whole internet.
Smartest cnile lmao.
>>
>>107813043
>300klocs
so 10k lines of python
>>
>>107813064
theres a methodology to dealing with c, and a suite of tools that helps you deal with that
>vibecoding
kinda eww, ngl
>>
>>107813078
>t. doesnt know that you can make a function that handles your crashes
and thats why you use a language that does it for you. got it.

>>107813080
python is slow. if i could use it, i would
>>
>>107813080
>10k
more like 587 max, C is more verbose than java to do some basic shit.
>>
>>107813090
My program doesn't crash so I don't need such a function.
>>
>>107813064
segfault is very easy to catch when equipped with a debugger and you almost never get it anyway in modern cpp
>>
>>107813091
>t. doesnt know that a usecase for c is when you need to build something from the ground up
:/

what do you actually know?
i get the feeling the list would be shorter
>>
>>107813080
Good morning saar
>>
>>107813096
>t. never worked with user input

did you ever program anything meaningful in your life?
>>
>>107813037
where the fuck did you see people checking errors on a printf
>>
>>107813115
When I have to write to a file and make sure that my file doesn't end up garbage.
Smartest cnile lmao.
>>107813111
>his program crashes on user input
did YOU?
>>
>>107813103
I know that you never built anything from the ground up in C.
>>
>>107813123
man stop embarrassing yourself, you're exposing your stupidity so badly
>>
>>107813123
>printf writes to a file
kekk
>program crashes on user input
well, it exits gracefully because i have a function to handle that

forget programming
did you even finish your 4th grade?
>>
>>107813142
>>printf writes to a file
>kekk
Tell me more about what programs you write if yours seemingly would produce garbage if your
fizzbuzz was used like this:
fizzbuzz1 < file1 > file2
>>
>>107813157
is the fizzbuzz i wrote in the room with you right now?
>>
>>107813167
nope, I flushed it down the toilet
>>
>>107813172
oof so not only you have visual hallucinations but the other senses are implicated too
you might want to have your head checked. sooner than later
>>
>>107813180
my head is fine, I could smell your fizzbuzz smell like a piece of shit which is why you don't seem to be concerned about the fact that I flushed it down and instead only can deflect
>>
>>107813190
>my head is fine
its definitely not
and this seems to be a common trait amongst the people who seethe at c
>>
>>107813207
I don't seethe, I flush it down the toilet.
>>
>>107813224
>another attempt at being insulting
>but 100% not seething
youre right. youre not merely seething
youre seething extrahard
>>
>>107813235
I'm merely flushing shit down the toilet, sir.
>>
>>107813244
>extrahard
*turbohard
>>
>>107813249
>thinks turbo is a prefix
not beating esljeet allegations
>>
>>107813254
>turbohard
multihard
>>
>>107812188
who gives a fuck, write what you want to write in
>>
>>107813271
white house gives a major fuck though
>>
>>107813310
Name a memory safe language
>>
File: 1767663454838833.gif (643 KB, 315x375)
643 KB
643 KB GIF
>Name a memory safe language
>>
>>107813310
then write in that language for whichever job you have at a government agency... whichever language you use doesn't define your personality
c isn't going anywhere, they're not going to re-write 40 millions LOC in the linux kernel
>>
>>107813343
20 million of those are for ewaste and can be safely deleted, the rest will be rewritten in time
>>
File: rust-jobs.png (73 KB, 442x822)
73 KB
73 KB PNG
>>107813350
>hopes and prayers
>>
>>107812188
Don't care, still rewriting in Rust
>>
File: jrr-tolkien-quote.jpg (63 KB, 1000x500)
63 KB
63 KB JPG
>>107813367
>>
>>107813323
Funny thing, it may not be long before you can effectively use AI to scan for memory safety issues (still a hit and miss now) then all the rustranseans rope.
>>
>>107813375
Sure thing rajesh, AI will just let you finally write C programs without bugs, 2 more weeks.
>>
>>107812877
>heres the thing: i need c's features.
>if the language doesnt have the same features as c im not interested
Most languages have pointer arithmetic (as an extension because it limits the language's portability) except you don't have to use it because they have better ways to do it. C didn't invent pointer arithmetic or anything else.
>and if it does- then whats the point in learning it?
Because they have more features and do things better.



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