[–]▶ No.834188>>834205 >>834404 [Watch Thread][Show All Posts]
Are modern editions of K&R updated to teach C11 or is there something else I should buy if I want to learn C11 from scratch?
▶ No.834193>>834199 >>834216
Any version of C is a waste of time, an old relic that nobody uses anymore. This aint the 90s. Learn a modern language like JavaScript or Go.
▶ No.834199>>834212 >>834558
>>834193
>C a waste of time
Not if you want to contribute to open source software which is extremely rooted in C or you are targeting embedded systems or are hoping to call on the near infinite amount of existing code.
>Javascript
Jesus christ kill yourself anon
▶ No.834205>>834218
>>834188 (OP)
There isn't a version of K&R updated to C11.
If you already know C maybe you could just look at the standard reference. If you don't know C just get K&R rev 2 and learn it then look at the standard.
▶ No.834212>>834214 >>834217
>>834199
He's joking anon.
▶ No.834214
>>834212
damn. I'm retarded.
▶ No.834216>>834559
>>834193
>learning anything other than Rust
>current year +2
smhtbqhfam
▶ No.834217
▶ No.834218>>834225 >>834267
>>834205
>There isn't a version of K&R updated to C11.
That's disappointing. Is there anything that teaches C11 from tree ground up that you know of?
▶ No.834220>>834225 >>834248 >>834561
Read K&R and then the language spec for C11 (and future versions). Try to learn the impetus for any new features and ask, what problem were they hoping to solve?
I bought pic related last week, should be interesting to see what it's like.
▶ No.834225
>>834218
Not that I know of, sorry man. I think >>834220 >>834205 is the common practice.
▶ No.834230>>834261
C11 has very few changes, and probably roughly zero you need to know as a beginner.
▶ No.834248>>834318
>>834220
Tell us how it compares to r*st when you're done reading it
▶ No.834261
>>834230
this, i've been learning C ( i'm not fresh to programming in general ), and i think i've gotten pretty far without ever having to tell gcc to use C89, C89,C99 or C11. I don't even know what the difference is and I've had no problems writing basic shit for the console, using ncurses, or using gtk for gui shit. I'm sure I should learn but so far it hasn't been necessary.
▶ No.834267>>834287
>>834218
There was a pretty good thread about it on Lainchan. I recommend checking it out, it has some useful links: https://lainchan.org/%CE%BB/res/168.html
▶ No.834271
http://icube-icps.unistra.fr/img_auth.php/d/db/ModernC.pdf
This book will explain C programming with C11. But, I don't know how well it works as book for people learning from scratch.
▶ No.834287
>>834267
>namefag central
8chd -reply tech 834267 /home/user/Desktop/Pictures/"what are you doing.png"
I'm going to share this link though because it's pretty cool
http://www.iso-9899.info/wiki/Books
▶ No.834318
>>834248
Will do. I was hoping to do the AdventOfCode problems in it, but as it's a massive tomb, I probably won't complete it in time before the 24th (there's always later though).
▶ No.834372>>834390 >>834420
Read latest edition of K&R.
Check either the standards or wikipedia to see what was changed or added with each revision. There isn't much changed, which is the great thing about it. Modern C is a good book, but wikipedia has what you need in point form.
Read newsgroup archives for comp.lang.c and comp.std.c from 1995-2005. Those really were some golden years. That will give you a big headstart on writing pedantic, greybeard-tier code. People like Ken Thompson, Keith Thompson, Thomas Dickey, Eric Raymond, Andrew Koenig, and many more were highly active on those newsgroups during that period.
Enjoy !
▶ No.834390
>>834372
>Read newsgroup archives for comp.lang.c and comp.std.c from 1995-2005
Where would anon find these?
▶ No.834392>>834397
https:// groups.google.com/forum/#!forum/comp.lang.c
https:// groups.google.com/forum/#!forum/comp.std.c
If you click the arrow in the search box on those pages, it should give you the option to search posts by date, but it doesn't seem to be working for me. I tried lynx, safari and tor. So I've only put links to the groups themselves.
▶ No.834397
>>834392
much appreciated.
▶ No.834404>>834416
>>834188 (OP)
how about the spec? ANSI costs $150 IIRC (and no reputable warez groups publish it) but the C99 (and so I assume C11) have them published for free. K&R is some overrated shit that produces monkey coders anyway, good for beginners I guess
▶ No.834416
>>834404
The C11 standard is freely obtainable from:
C11: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
It's strictly a reference though. It's definitely not learning material. K&R is still an excellent book. One of the best programming books ever. It teaches you how to think like a computer programmer. The progression of the topics flow into one another perfectly, and the excerises open the mind in perfect sync with the material learned.
I seriously doubt anyone who has read the book could possibly share your same opinion.
▶ No.834420>>834437 >>834509
>>834372
>Read newsgroup archives for comp.lang.c and comp.std.c from 1995-2005.
Are you fucking kidding me? Like seriously, is this real life? Let's get this straight, it is twenty seventeen and you want to educate people with crusty old newsgroups posts from a bunch of dead old white men using arcane languages who didn't even have mobile internet and played movies with VHS tapes!? How is anything they said even relevant? Hello! A lot has changed in our thinking about computer programming since then. Coding is a social activity, and a very human one. What you're proposing shuts out the experiences of historically marginalized groups. Resist that. Say, why not let a young biracial latinx coder mentor you in Javascript, or have a trans person of color teach you Ruby? You will benefit from the richness of their life experiences which those dead white men could never provide. As a full stack developer, I interface with many diverse groups and work on a team with multiple ethnicities, genders and shades of human being. You had better get used to people who are different than you, this is a global village and we grow together, not apart. Reality rejected the whiteness of those coders, the DOTCOM bubble burst (educate yourself). Be a part of our movement. Reject whiteness. Say no to the patriarchy. Walk with us, but do not lead our technology revolution for people shut out from the last one.
▶ No.834431
I've been working my way through Learn You a Haskell for Great Good: http://learnyouahaskell.com/
After going through the first few chapters I was able to make stuff like prime checking It's a 1 liner for testing for a prime and a high low game.
▶ No.834437>>834439 >>834550
>>834420
What do you think many of these things were built on ? OP is getting to the source of things. You sound and act pretty detached from reality, shillbot.
How does skin color relate to technical merit ?
All math and science is building upon what we have from the past. From Mesopotamia til today. Everything from the past is relevant and in use today.
C is still very much current and its relevance is easily obvious.
sage because I took the bait.
▶ No.834439
>>834437
do not reply to b8 posts
▶ No.834509
>>834420
>latinx
Made me rage even knowing it's bate.
3/10 (2 for rage, 1 for reply)
▶ No.834550
>>834437
Please don't take such blatant b8
▶ No.834558
>>834199
Actually the use of C particularly in open sauce is plummeting and has been for quite some time. Two words anon:
Black
Duck
Software :^)
▶ No.834559
>>834216
>anon
>doing anything but sucking cock
>any year
▶ No.834561>>834594 >>834677
>>834220
Neat. ADA is still very important and will continue to be so with the rise in robotics.
▶ No.834594>>834661
▶ No.834661>>834680 >>834715
>>834594
Because it is safety critical in nature in several types of use domains. Ada more or less idiomatically forces you to write good contracts for functions. This increases reliability and thus safety. C++ is making leaps and bounds in this area lately, but unless a shop forces a subset of the language (for example using only the C++ Core Language Guidelines), then it's old legacy C compatibility ruins many of it's determinacy and reliability aspects. C, of course, is complete shit in this area and is by far the world's biggest source of security and safety problems in software primarily because of it's retarded adherent's insistence on slinging void* into every corner of their code, and the language's basic lack of runtime checked bounds.
But back to the point, my money is on C++ in the long run, but Ada is and will remain important -- especially once robots come into more and more contact with consumers where safety concerns are paramount.
https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md
▶ No.834677>>834679 >>836132
>>834561
I just asked three of my lecturers about ADA (I'm doing a degree in the subject) and all three said it was irrelevant. One even laughed.
▶ No.834679>>834727
>>834677
<appeal to authority
Nice try Steve.
▶ No.834680
>>834661
>sabety goncerns
I agree Ada is very important.
▶ No.834715>>835395 >>835450 >>836147
>>834661
>C, of course, is complete shit in this area
Oh no. This screwdriver is shit because it won't torque down this screw although I quit torquing the screw because my arms are weak because I am a little girl.
Don't blame the tool; blame the user.
Do you honestly believe that Google, Apple, Microsoft aren't working together to limit your programming capabilities to 1 or 0 languages?
It's already happening on the Mac; look at how xcode is set up to dissuade people from using anything but Apple approved coding practices and styles.
You are being controlled for 'safety', and it's not your safety either.
▶ No.834727
>>834679
Oh, they're not pro-rust in any sense. The future is still embedded C
▶ No.835395>>835406 >>835551
>>834715
They're pushing 'safe' programming because we'll have encrypted memory within 10 years, at which point they can lock down the PC super hard and if you can't find exploits in existing programs they can lock you out of your own hardware like a console.
▶ No.835450>>836147
>>834715
C users are tools. C is not a tool.
▶ No.835551
>>835395
This. It's why all in all I am glad about the plethora of security vulnerabilities and I hated when the faggots at the EFF offered to let security researchers help make Widevine more secure as a "compromise". That would have been actually worse, thankfully Tim " I suck cock for money" Lee just ignored them. When they talk about security, they talk about security for themselves against you. Never forget that.
▶ No.835556>>835562
>>835406
We came close to already having it. Both Intel and AMD attempted it, but they both fucked up because they're full of Pajeets. They're going to try again. It is the biggest Pandora's box in tech and will change everything.
▶ No.835562>>835573
>>835556
So you'd rather everything written in unsafe languages and keeping exploits in higher level software that anyone can find and use?
▶ No.835573>>835628
>>835562
I'd rather live in a world with exploits than one where Israel has total and complete control over my computer.
▶ No.835628>>835657
>>835573
>C is secure unless you're retarded! Don't blame the tool. Safe languages don't solve any problems, so you should use C because everyone else is doing it.
>Oy vey, goy! You don't want to get rid of buffer overflows! How will you keep Israel in, uh, I mean, out of your computer? Are you telling me that clicking on a link shouldn't give us full access to exploit your machine? Those safe languages are another shoah!
Really makes you think.
▶ No.835637>>835880 >>835887
Is there any good reason to use "safe language" instead of C + code analysis tool?
▶ No.835657>>835835
>>835628
Observe how to kike twists every sentiment for C into a sentiment for buffer overflows and "a link that gives full access to exploit your machine."
How retarded they are!
▶ No.835835
>>835657
>buffer overflows and "a link that gives full access to exploit your machine."
That's what C does. The "Thompson hack" was a backdoor in the C compiler. What is that backdoor that survived for all this time? It's in the design of C itself. They have "total and complete control" over your brain as well, and you don't even realize it.
▶ No.835880>>835887
▶ No.835887
>>835637
>>835880
If code analysis tools work then why are there bugs in popular open source software written in C?
▶ No.836132>>836949
>>834677
Meh. Ask you're "lecturers" how many commercial airliners they've written production software for Pajeet.
▶ No.836147
>>835450
Kek. Underrated.
>>834715
You do sound like a little girl friend. And everyone knows there are no females on the Internet. So, we already know you're a fraud bro.
▶ No.836888
▶ No.836949
>>836132
He said three lecturers though, I mean that's just coffin nails for Ada.