[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

The Art of Computer Programming (TAOCP) by Donald Knuth

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 28
Thread images: 6

File: 1492442110215.png (18KB, 509x411px) Image search: [Google]
1492442110215.png
18KB, 509x411px
I recently purchased a boxed set of Donald Knuth's The Art of Computer Programming on Amazon (https://www.amazon.com/Computer-Programming-Volumes-1-4A-Boxed/dp/0321751043) based on its stellar reputation as one of the indispensable, foundational computer science books that every programmer should read.

I excitedly started delving into it last night but after an hour or two of reading and exercises I started getting the sinking feeling that I'd just wasted $200. It seems quite mired in 1960's-era academic minutiae and tedious mathematical formalism that doesn't seem very relevant to a modern practicing programmer.

For all its focus on algorithmic performance I found no mention of pipeline stalls, designing for cache performance, branch prediction, multithreading, etc. which are all very fundamental aspects of good performance on modern hardware.

So for those who are practical programmers and have gone down the Knuth TAOCP rabbit hole I ask - was it worth it? Did it give you knowledge and skills applicable to your programming work or was it mostly academic / intellectual entertainment?
>>
>>62470186
> based on its stellar reputation as one of the indispensible, foundational computer science books that every programmer should read.
You're not supposed to read it, nobody's ever actually read it. We all just say we've read it, talk about how brilliant it is, and place it prominently on our office bookshelves to silently humblebrag to anyone who drops by. Sorry you had to spend $200 on that lesson, mate.
>>
you should have wasted those $200 on a mech keyboard
 
static void selectionSort(int[] lst) {
// get the length
int n = lst.length;
for (int i = 0; i < n; i++) {
int index = 0;
int smallest = lst[i];
for (int j = i; j < n; j++) {
if (lst[j] < smallest) {
smallest = lst[j];
index = j;
}
int temp = lst[i];
lst[i] = smallest;
lst[index] = temp;
}

System.out.println(Arrays.toString(lst));
}
>>
>>62470292
I don't have a better answer than this.

It's kind of like those massive door-stopper classical books that 1500+ pages.
We buy a copy and put it on our shelves because it makes us think that other people think we're smart.

The good part of Knuth, though, is that it is quite rigorous and should prepare you for just about any future readings.
>>
>>62470186
>not buying Computer Systems: A Programmers Perspective
http://csapp.cs.cmu.edu/public/perspective.html
You brought it on yourself
>>
>not downloading pdfs and preserving physical space in your house
Lmao@urLyfe
>>
File: 1489820909602.jpg (99KB, 935x1024px) Image search: [Google]
1489820909602.jpg
99KB, 935x1024px
>>62470708
Piracy is sin.
>>
>>62470782
>implying Kate didn't commit the biggest sin there is
>>
>>62470782
wasting paper is a sin too
>>
File: 1481800346665.jpg (48KB, 680x451px) Image search: [Google]
1481800346665.jpg
48KB, 680x451px
>>62471243
>stealing other's intellectual property
>utilizing regenerative carbon that will be recycled anyway and is biodegradable
Which do you think is sin? Think.
>>
>>62470186
>I started getting the sinking feeling that I'd just wasted $200. It seems quite mired in 1960's-era academic minutiae and tedious mathematical formalism that doesn't seem very relevant to a modern practicing programmer.
Yes, that is quite accurate. Underneath that minutiae is a mediocre textbook on algorithms, and that's all. I never understood what people see in those books.
>>
>>62471290
You being alive faggot
>>
You got memed kid. Happens to everyone from time to time.
>>
File: 1477426886740.png (252KB, 848x1219px) Image search: [Google]
1477426886740.png
252KB, 848x1219px
>>62471475
Life is a gift from God.
>>
>>62471562
life is a gift from chaos.
go read the bible.
>>
File: 1487057134215.png (154KB, 527x495px) Image search: [Google]
1487057134215.png
154KB, 527x495px
>>62471584
And the Lord God formed man of the dust of the ground, and breathed into his nostrils the breath of life; and man became a living soul. (Genesis 2:7)
>>
>>62470186
Anyone have the PDFs to these books? Was thinking of buying but now I'm thinking of sailing the high seas
>>
File: 1487639622352.jpg (83KB, 678x678px) Image search: [Google]
1487639622352.jpg
83KB, 678x678px
>>62471790
Just borrow them from your local library.
>>
>>62471632
teach me more about god, senpai
>>
>>62471802
> going outside
Ehhh I'll stay ignorant
>>
>>62472038
And fat and unbathed I'm sure.
>>
>>62471632
i shaked pope francis hand last week, he told me the truth about god.
>>62472038
pdf or paper you won't read them anyways
>>
>>62470708
I just emailed Prof. Knuth asking him for the books and cced his assistant, he replied in 3 days with the PDFs.
>>
>>62472073
>(((pope)))
>>
>>62471790
Download from the gentooman library
>>
I fell for the physics version of this meme. Have a box set of Feynman's lectures I've read like 10 pages of. A year later they were posted online, typset in LaTeX. rip
>>
>>62470186
>pipeline stalls, designing for cache performance, branch prediction, multithreading
You should be making decisions regarding these yourself. Knuth would be revising TAOCP every 2 years to talk about the latest meme cpus and architectures
>>
>>62470186
How does it feel to waste money on something you'll never use OP?
Thread posts: 28
Thread images: 6


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.