[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

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


Janitor acceptance emails will be sent out over the coming weeks. Make sure to check your spam folder!


[Advertise on 4chan]


What compels people to use C or C++? Seriously? Imagine copying bytes like a cave man in 2026.
>>
File: reddit faggot.png (572 KB, 927x1020)
572 KB PNG
>>109538043
Bait thread btw.
>>
>>109538043
being able to see what is actually happening between hardware and software is a joy you will never understand
>>
>>109538043
Ah C. The language where even the most basic tasks are so annoying to do that people doing the most midwit tier projects get to have presentations about them
>>
>>109538062
he said while completely clueless how compiler rearranged his code at the slightest whiff of UB
>>
>>109538043
They don't know any better and they can even imagine something better. Cargo cult.
>>
>>109538043
You've never used C++
>>
>>109538092
ya. I remember when I did stupid shit with bash and awk and even sed and realizing that the esotericness was just contrarian cred and time wasting effort.
>>
>>109538043
the fact that theres a multitude of different ways of storing, or copying said bytes
the "non-caveman languages" either provide you 55 different interfaces to do a variety of things fpr which you only need 3 in C
or just abstract these away and youre fucked if you need to do things in a specific way
>>
>>109538043
Isn't C++ still the prime language for game development?
>>
>>109538277
most games are made in C# in xna/fna or unity shit nowadays.
>>
>>109538277
For custom engines and AAA, yes. The undisputed king.
>>
>>109538049
Why does /g/ call all real takes bait?
>>
>>109538297
>C is bad
>real take
LMFAO. It happens literally everyday and it IS bait.
C is irreplaceable. Deal with it. Nobody cares about your vibe coded Rust slop.
>>
>>109538043
C is the only high level language that is usable. I am not even going to answer your question on why are people copying bytes because you are clearly an idiot that doesn't understand that that's the way computers work.
>>
>>109538043
richard feldman is an ex-webdev who's making a heavily Elm-inspired desktop language anon.
he's not a cnile
>>
>>109538043
>What compels people to use C or C++? Seriously? Imagine copying bytes like a cave man in 2026.
What compels (You) to post these bait threads? Have you examined your psychic health, lately?
>>
>>109538096
You can flag your compiler to come in like a bitch on heels and not rearrange anything.
>>
>>109539184
perhaps, a 500-character command line exists for unfucking gcc, but I haven't personally reached for it due to using any other language in its stead.
>>
File: 1781752351484405.png (150 KB, 440x330)
150 KB PNG
>>109538043
Why is he using a Mac, though?
>>
Dupe of >>109538123
>>
>>109538043
If you're not a clown, you use C, a real man's language.
>>
>>109538043
>it just works
>massive ecosystem
>rock system
>if it's good for nasa and nuclear missible guiding system then it's good for me
>very easy to understand
>very easy to debug
>lingua franca of the programming world
>strong tooling

>>109538049
bait website, you have 0 reason to be here if you don't want to interact with bait.

>>109538096
you're already supposed to read assembly when you write code in any compiled language if you actually care about making good software so why does it matter?

>>109539198
typical retard who bitch scream about muh memory issues and so on but REFUSE to turn on the compiler flags that every other language use.
can you explain this behavior to me? why do you default back to grug when working with C? we have static analyzers and sanitizers, it's very easy to write safe C in 2026, use the fucking features, are you stupid enough to believe that if something isn't opt-out or mandatory then you don't need it? retard.

you can safely ignore the morons at google and othe fagman who bitch about muh memory issues, these fucking companies exist thank to their C devs powering the actual infrastructures, I'm 100% certain that if we audited these companies and ranked who is most critical to business in them, C devs would rank first everytime.
none of their gay ass toys like C#, python or js would exist if they didn't relay on C to build these things.
>>
>>109538043
I code in assembly cause it’s the only error free language
>>
>>109538277
yes
>>109538282
>Unity
C# is just the gameplay programming part, the engine which does the heavy lifting is C++
>>
>>109538105
cargo is a rust tool, not a C one
>>
>>109539354
compiling d does not require a long command line to unfuck the compiler. neither does freepascal. and certainly not the assembler.
>>
>>109539456
game devs do not make engines, so it doesn't matter what engines were made in.
>>
File: pb.jpg (65 KB, 900x736)
65 KB JPG
>>109538282
And those frauds can't stop having leaks despite the garbage collector.
>>
>>109539487
>game devs do not make engines
game engine dev is part of gamedev
>>
>>109539643
tell that to modern game devs. ^_^
>>
>>109539471
but C does, deal with it.
ask you favorite AI to make the makefile for you.
no one said C was on-par with modern alternatives with it comes to hand-holding, it does not change the fact that a modern C compiler has most of the things you need to write good code.
>>
>>109539659
oh silly me, of course it has burned my house down because I did not pass --do_not_burn_my_house_down argument when compiling!
>deal with it.
I prefer not to, and thar works in most cases.
>>
>>109539457
Rust is C with a borrow checker, but basically C. We must question the fundamentals of modern programming languages.
https://en.wikipedia.org/wiki/Cargo_cult
>>
>>109538043
because when i make the same program in python, it gets about a bajillion less fps
>>
>>109539750
false dichotomy. use luajit
>>
>>109539679
>I prefer not to, and thar works in most cases.
don't worry, others will so the rest of the ecosystem won't disappear.
>>109539731
rust is the wrong kind of language for a building block as critical as first language after assembly to generate all the others.
>https://en.wikipedia.org/wiki/Cargo_cult
C is a very powerful tool and some schizo have been screaming in our ears that we're doing programming wrong or something, who is part of a cult.
>>109539750
I know it's ironic posting but other ways to look at performance are
>more work for the same power budget
>less energy for the same target
C dominates efficiency with assembly, having more fps matters way less than being able to draw less energy for the same task.
>>
>>109538043
I'm learning C++ since it is the one language that rules them all.
I don't want to learn multiple languages.
Would rather just master 1.
>>
>>109540463
ironically that will take you longer as learning multiple languages works better if you want to learn all programming paradigms.
>>
>>109540463
Good luck using C++ for web. You'll have to learn other languages eventually.
>>
lazy bait
>>
>>109540501
>ironically that will take you longer

Actually it won't because he'll learn the fundamentals which will propel him forward in anything he wants to learn in programming, as opposed to freestyling jeets who still don't understand anything after 30 years of 'programming' in 6 million meme languages.
>>
>>109541009
wrong. sticking to a single language is a good way to stay a baby duck or give up on programming altogether.
>>
>>109539643
game engines are like browser engines

people occasionally make their own as a niche project, but for serious work you use the 1 or 2 major ones around. For game devs that's Unity and sometimes Godot
>>
>>109538297
Honk?
>>
>>109538043
People use C and C++ in order to do actual work for things that actually matter.
I can see how you wouldn't understand this if your "job" is to maximize gambling and pornography ads served to children through some website for Mr. Goldberg.
>>
>>109538043
You do you think you are doing when concatenating two strings in Python?
>>
>>109538043
this dude is not only using c style strings in 2026 (why?) but also using strlen on a statically known string of which the length can be obtained at compile time with sizeof
>>
>>109538043
Stupidity compels them.
>>
>3 rust shill threads created in-tandem with 3+ anti-c shill threads
very organic



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