[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/c89/ - C Programming

No Meme Languages Allowed
Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov, pdf
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: fab0c7f92695aaf⋯.jpg (132.57 KB,1024x870,512:435,102685442_03_01_1024x870.jpg)

bdb0de No.2

What can C be used for?

This question gets asked a surprising number of times by newcomers. After all, everyone and their dog are doing memes instead of coding.

C powers the world. Apache and nginx are written in C, so is PHP. Almost all operating system kernels are written in C. This includes Linux. PostgreSQL is written in C.

To write games in C, use SDL. If you want to write GUI applications, use IUP instead. For web/HTTP clients and the like, use Curl. For server applications, use FastCGI.

Almost every task already has a C library for it. This includes parsing meme protocols like XML and JSON. For whatever you want to do, find the appropriate library and use it. Only write your own when you can't use something else.

Why /c89/?

/c/ was taken, it's e0001. Obviously, /cp/ for C Programming is a banned board name. It does not mean that we only use or discuss C as of ANSI 1989. All versions of C are welcome, from the mid-70s editions with the =+ operators reversed, to current_year(). When it matters, state what standard you're coding to.

Why 8kun?

For the past twenty years, ever since GCC 2.95 came out, or thereabouts, programmers have been systematically brainwashed that undefined behaviour is a swear word and must be stamped out at all costs.

This has resulted in extreme backlash against people who speak against that insane intpretetation of the C standard. See for example discussions between a GCC contributor and Anton Ertl.

The reality is more complex, and it's the opinion of this board owner that GCC and clang maintainers and contributors are simply insane, and have had the past twenty years to convince the rest of the world that their insanity is real.

That needs to stop.

Speaking up against the establishment is liable to deplatforming, harassment, and even doxxing and threats of violence. People don't like their insanity questioned.

I have chosen 8kun as the platform of choice and a bunker against the insane undefined behaviour crowd. Therefore I choose anonymity.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

bdb0de No.3

Reserved.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

b0276b No.9

>Only write your own when you can't use something else.

This is a mistake. You should always write your own because you never know whose code you are trusting and what motives they had while writing it. With your own code at least you have a good idea about what your own motive may be.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

bdb0de No.10

>>9

Right, and you have the time and energy to write code for a million years? Are you going to replace libcurl because you're suspicious of the developer? Or SDL? Probably not.

There are ways to find a middle ground, but to begin with, I think the FAQ more correct than not.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
Post last edited at

b0276b No.11

>>10

I start any project I make by first building a lisp implementation that can self-compile itself so I dont need to touch impure code written by heathens.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]