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

/c89/ - C Programming

No Meme Languages Allowed

Catalog

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: c85106841cb1ed4⋯.jpg (7.5 KB,229x220,229:220,dennis_office.jpg)

29d33a No.1 [Open thread]

Rules

Obviously, the global rules apply. This shouldn't need stating because you agreed to them when you filled out the captcha.

/c89/ is SFW. Any NSFW content will be deleted with prejudice. However, if you get fired for using C at work, it wasn't safe for work, was it?

This is not a place to discuss programming with meme languages, this includes Rust and any version of C++ more recent than 98. Fortran is welcome; so is Lisp.

Do your own homework.

Malicious interpretation of the C language standard is a bannable offense. This applies to any and all GCC and clang contributors. Yes, if you've conributed to GCC from 2.95 onward, or clang/llvm, ever, you're not welcome here.

Here, SUS is the Single Unix Specification, only and always. Using SUS with a different meaning is a bannable offense. Just play it safe and write out the Single Unix Specification in full every time.

And finally, trust the programmer, if you need hand holding because you don't know, and don't want to know, what you're doing, get off the board.

Because it Needs to be Said

Your gender is C. Your pronouns are you/your. If you code with your genitals, you keep that shit off this board.

We don't care about your skin colour; neither should you when coding. It's not important.

In this reality, 2+2=4. Objections are a bannable offense. See also https://0.30000000000000004.com/ for floating point calculations.

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


File: f12990081f54f6f⋯.png (89.6 KB,508x599,508:599,508px_GNU_Compiler_Collect….png)

7f91b7 No.22 [Open thread]

Good day anons,

Recently discovered this board and was immediately intrigued.

I've been programming using C99 for the last year, writing a assembler for my custom cpu arch. Has been one of the most informative experiences, learned a great deal about C in that time (but of course still have long to go).

My question in particular is about GCC 2.95.

What happened?

What paradigm shift occurred that caused the fear of the undefined?

The gnu changelog doesn't mention anything particularly pozzed:

https://www.gnu.org/software/gcc/gcc-2.95/features.html

Also noticed LFS documentation (albeit dated) that mentioned "that the kernel developers have certified GCC-2.95.3 as the preferred compiler for compiling the [linux] kernel".

https://www.linuxfromscratch.org/blfs/view/5.1/general/gcc2.html

Thanks for reading anons.

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


YouTube embed. Click thumbnail to play.

129f62 No.4 [Open thread]

CSE Concepts with Parinita

>This is one of the best Compiler Design Playlist for beginners that will teach you the concepts from basics to expert level. Let's learn all about Compiler here :

1. What is a Compiler?

What is compiler and why is it needed in compiler design is explained fully here. In this video of CSE concepts with Parinita Hajra, we'll be seeing about the introduction of compiler design and why is it required.

What is compiler ? and why we use compiler? and need of compiler's.

Video - Compiler Explained

- What is a Compiler ?

- Why we use Compiler ?

A compiler is a special program that processes statements written in a particular programming language and turns them into machine language or "code" that a computer's processor uses. Typically, a programmer writes language statements in a language such as Pascal or C one line at a time using an editor.

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

129f62 No.16

YouTube embed. Click thumbnail to play.

10. Recursive Descent Parsing in compiler design | Operator Precedence Parsing table Examples

Recursive descent parser and Operator precedence parser is explained fully in this video with the help of standard example. In this video of CSE concepts with Parinita Hajra, we'll see the overview of recursive descent parser and operator precedence parser in compiler design

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

129f62 No.17

YouTube embed. Click thumbnail to play.

11. FIRST and FOLLOW in Compiler Design Examples in English| How to find first and follow of grammar

First and follow in compiler design is explained completely in this video. I have taken multiple examples to show you how to find the set of first and follow in compiler design. In this video of CSE concepts with Parinita Hajra, we'll see the steps and examples of how to find out the set of first and follow in compiler design when the productions of grammar are given

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

129f62 No.18

YouTube embed. Click thumbnail to play.

12. LL(1) parser in Compiler Design | Non Recursive Predictive parsing ll1 Parsing Table in Compiler

LL1 parsing table is explained fully in this video along with the things like how to construct LL(1) table. We will understand everything about non-predictive parser in compiler design. In this video of CSE concepts with Parinita Hajra, we'll see the overview of LL(1) table or non recursive Predictive parser with the help of full example. We'll see how to check if any grammar is LL(1) or not in the compiler design.

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

129f62 No.19

YouTube embed. Click thumbnail to play.

13. Shortcut for LL(1) table or non-recursive predictive parsing

Predictive parsing in compiler design is very important. So, in this video we'll learn shortcut to create LL(1) table or non-recursive predictive parsing and how to check if any grammar is LL(1) or not in very short time.

In this video of CSE concepts with Parinita Hajra, we'll see the easy and shortcut technique to check whether any grammar is LL(1) or non recursive descent predictive or 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.

129f62 No.21

YouTube embed. Click thumbnail to play.

14. LR Parser in Compiler Design in English FULL EXPLANATION | LR parsing | Bottom up parsing

LR parser whole description is explained in this video like their definition, use, requirement, types, etc in very much detail so that you can understand every point clearly. In this video of CSE concepts with Parinita Hajra, we'll see some of the very important important points regarding the LR parsers or bottom up parsing like lr(0), slr(1), clr(1), lalr(1) in Compiler design.

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



File: acec24e7aa452f8⋯.png (99.48 KB,1098x636,183:106,ClipboardImage.png)

7cacd1 No.20 [Open thread]

That didn't go well.

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


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

bdb0de No.2 [Open thread]

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.Post too long. Click here to view the full text.

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



Delete Post [ ]
[]
Previous [1]Next | Catalog | Nerve Center | Random
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]