[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

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]


[Advertise on 4chan]


File: 1765131673233479.gif (437 KB, 180x180)
437 KB
437 KB GIF
>What if we made C but with... le abstractions to help the programmer!
THEN IT'S NOT LIKE C THAT IS THE ENTIRE POINT!!!!
>>
the good thing about C++ is that if a girl programs in it she is probably absurdly sexy
>>
File: based.png (526 KB, 805x693)
526 KB
526 KB PNG
>>107546568
yeah
simplicity and low count of interfaces is the whole point of it
not only for the end user, language maintainers have also less features to deal with

once you start abstracting shit away you end up with branching interfaces, and the complexity of the language increases exponentially
aka the c++ syndrome
>>
>>107546568
Hey ctard, quick question, why do pointers exist, then? You can just use an int and dereference that. Just gotta remember to multiply by the size of a pointer on the target architecture when you increment it.

Why is this abstracted away from you? C is treating you like a baby, fight back!
>>
>What if we made lisp but without le abstractions to make it practical!
THEN IT'S NOT LIKE LISP THAT IS THE ENTIRE POINT!!!!
>>
File: picard-facepalm.jpg (59 KB, 678x678)
59 KB
59 KB JPG
>>107546715
>the int is not the same every time
>asm has "pointers" too (actually called "labels" instead)
>>
>>107546737
>Pointers compile to labels
This answer to my bait was far more retarded than I could have hoped for, thank you
>>
>>107546767
if you have an array inside a for loop (which you should so the compiler can optimize it)
then it uses the stack
so its kind of a label

but i see now that youre talking about having a pointer to a malloc or some shit like that

in which case no one is forcing you to use a pointer
its your own fault for being rarted and using one
>>
>>107546715
Pointers are literally just a shortcut to reduce indirection, like how in x86 you can just load an entire word from memory instead of the indirection of risc where you need to load an adress into a register and load zero offset from that register into another

It’s not an abstraction
>>
C is an abstract high-level language, retard.
>>
>>107546825
>Everything that isn’t literally assembly is high level
>>
>>107546849
Yes, that's the definition of a high-level language.
>>
>>107546861
its a gradient
asm is an abstraction of the cpus microcode
and is optimized at the hardware level with ooo
>>
>>107546849
Yes, C is categorically a high level language
>>
>>107546568
C is only allowed to have abstractions that hurt the programmer, like switch, C pointer arithmetic, and the preprocessor.
>>
Reminder that char is guaranteed to be a byte, which is NOT guaranteed to be 8 bits.
>>
>>107546568
C is an abstraction.
>>
The only "high" level in C is how many drugs Cniles need to consume to still deny reality.
>>
>>107549815
so you're denying that c is a high level language and furthermore shaming people for working in what you believe is a low level language?
>>
>>107549910
The only low level in C is IQ of cniles.
>>
C with GNU extensions is based.
They should add better macro system though
When people try to sell you something as "better C" they always have made the gayest shit in the existence that has nothing to do with c
>>
>>107550054
>They should add better macro system though
no, they really should not and
>C with GNU extensions is based.
no, it isn't
>>
>>107550070
Give me ONE reason why we have to deal with that shit preprocessor instead of running regular code at compile time like forth.
>>
>>107551233
Because you want to use C and using C means gay ass shitlang with 0 good features



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