[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Why does /g/ hate C? >But memory exploitation Learn to write

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 39
Thread images: 1

Why does /g/ hate C?

>But memory exploitation
Learn to write safe code, or go use Rust. Stop shitting on a language because you're bad at it.

>Muh garbage collection
Use a different language if you aren't looking for maximum control over system resources

>Muh productivity
It's a small systems programming language for low-level systems programming, use another language for other types of development.
>>
Dumb frogposter
>>
OMFS* HOW CAN PEOPLE HAVE DIFFERENT NEEDS OR TASTE THAN I, THE SPERG LORD OF ATLANTIS, HAVE?

REEEEEEEEEE

FUCKING NORMIES

*OMFS MEANS OH MY FUCKING SAGAN, I DON'T USED OMFG BECAUSE GOD, CLEARLY, DOESN'T EXIST. IF HE DID WHY WOULD HE PUNISH ME? MOOOOM WHERE ARE MY TENDIES?
>>
>>59557183
I agree with you. /g/ isn't one person.
>>
>>59557183
It's just a small group of Rust shills.
>>
>>59557183
>Stop shitting on a language because you're bad at it.
I quite like C personally but isn't "it's needlessly unsafe" a perfectly valid reason to shit on a language? Isn't part of what C does make assembly safer?

It's like if I gave you a car and said "By the way, there's a lump of nitroglycerin glued under the bonnet, don't crash" and when you complained "that's needlessly dangerous" I responded "well just drive better then".
>>
>>59557384
a better analogy would be a barebones car with exposed gears and tubes and if someone questions whether that is safe you just tell them dont get caught in the machinery
>>
>>59557410
That works too.
>>
>>59557183
C doesn't have a good package dependency manager.
>>
>>59557183
What your programming experience?

Show your github portfolio.

Anything, despite being certified fizzbuzzer?
>>
when it comes to /g/ there is very high correlation between being C fan and neet + shaving legs.
>>
>>59557544
What your programming experience?

Show your github portfolio.

Anything, despite being certified fizzbuzzer?
>>
whatever grandpa, C is busted and old.

What has Bell Labs done recently to help women in code?
>>
>>59557410
you forgot the part where if you don't get caught in the machinery, the car goes faster than any other car.
>>
>>59557594
>not installing a blackbox to your car that forces you to go the speed limit in order to lower your insurance

lol plen. Obey the traffic laws, you can masturbate to anime tiddies after you return from work
>>
>>59557594
except for maybe that one other mayan-egyptian spacecraft car probably handed down from aliens that almost nobody knows how to drive but at least it is really fast at calculating positions of planets and stuff like that
>>
>>59557577
I do not have github or programming experience, but if you are making such claims as OP, I would love to read your C code and learn from it how to write good proper and safe C code.
>>
>>59557647
aka you're aint shit. go back to plebbit
>>
>>59557594
not true anymore though
>>
>>59557183
We shit on C because people who write C are bad at it. They should be using Rust so their software can be not shit.
>>
>>59558370
Bad code can be written in any language.
>>
>>59558400
But much of the bad code that exists is written in C, this is not a coincidence.
>>
Because it's deprecated and you spend 99% solving the same problems as everyone else, without actually writing any code. It stems from a time where nothing better was available.

The only real use is for code that requires brute power like simulations
>>
>>59558067
name one non-asm or machine language that consistently performs better than C
>>
>>59557183
HAHAHAHAHAHAHHA

>C
>2017

its like you do not know that JS and atom exist in a.d. 2017

lmao
>>
>>59557183
>why do people like using languages that aren't C
>lists three common reasons given
>answers are all "use a different language then"
>>
>>59559361
>JS
>Atom
3/10 bait
>>
>>59558067
Yes it is. Spend some time at a code competition site where people can submit solutions in any language. Time the C++ submissions versus ANYTHING else.

Here's what I've learned doing just that:
>java is slow
>python is either surprisingly decent or a dog
>haskell is slow
>scala is LOL slow
>c# is decent
>javascript is surprisingly decent most of the time
>c++ using std classes is pretty damn good
>c/c++ where the programmer didn't rely on classes but created optimum data structures?
>GOD TIER

And before you "hurr durr muh computers are so fast!" I've seen submissions were Java was two orders of magnitude slower than C implementing the same fucking algorithm. Add another 1-2 orders of magnitude when the C solution is optimal and the Java solution is Enterprise style.
>>
>>59559390
Actually the question was "why does /g/ hate C?"

In other words why all the posts from Pajeets who think everything would be "safe" if it was written in Java.
>>
>>59557183
Because it'll irritate people who do like it. 4chins is for shitposting and flame wars
>>
>>59557183
>Stop shitting on a language because you're bad at it.
Stop believing you're good at a language because you implemented FizzBuzz once.
Stop using an unsafe language for security projects.
Stop using an unsafe language when your shit is public-facing.
>>
>>59561431
>Actually the question was "why does /g/ hate C?"
Which is effectively the same as "Why are other languages liked more than C"
>>
>>59557183
>Why does /g/ hate C?
>go use another language because X, Y and Z
But that's exactly what i'm doing lmao
>>
>>59557183
My guess is that people got tricked into trying it out as the first language because it was commonly praised and got relieved when they started using more high-level languages,
But that's propably the minority, most people do not actually hate things they say they hate on the internet
>>
>It's a small systems programming language for low-level systems programming, use another language for other types of development.

I don't think most people hate on C for being used as a low level systems programming language, but rather for being used for everything under the sun. IMNSHO people who decry other languages for simply not being C deserve to be shat on. We have myriad languages for a good reason.
>>
>>59557183
>header files
literally worse than having a file for every Java class.
>>
>>59557438
Install gentoo
>>
>>59557183
How about why does /g/ have a boner for C and always calls C++ shit-c?
>>
I only like C because it means I don't have to use assembly.
Thread posts: 39
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.