TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Knuth's Art of Computer Programming, V 4B, has gone into print

940 pointsby inetseeover 2 years ago

42 comments

cromwellianover 2 years ago
A few years ago I had the pleasure of meeting Knuth in his home, my wife was doing some photography for him. He took me to his room and showed me his setup, he was researching Soduku algorithms at the time. His hands were blisteringly quick, moving between EMacs panes, triggering evaluations and printing of results, as fast as any 20 year old. In his 80s , he hasn’t seemed to suffer any mental decline.<p>I started talking to him about some of the latest AI research and he mentioned the papers authors, he had already read them! Not only is he still very productive at 84, but he has not ossified into one particular subject but he continues to keep abreast of other related fields.<p>He also played his huge pipe organ for us, he was gracious, humble, down to earth, truly a treasure. I only wish he could live another hundred years, selfishly so I could see Volumes 5, 6, and 7 of Art of Computer Programming finished.<p>I should not with some sadness that COVID hit not long after and that year we lost a number of other luminaries in the field like Jon Conway.
评论 #33088639 未加载
评论 #33091685 未加载
评论 #33089492 未加载
评论 #33088016 未加载
评论 #33096771 未加载
评论 #33096818 未加载
svatover 2 years ago
Note that, to get an idea of the contents, you can see the previously published fascicles, and earlier drafts online (pre-fascicles):<p>• Mathematical Preliminaries Redux: <a href="https:&#x2F;&#x2F;cs.stanford.edu&#x2F;~knuth&#x2F;fasc5a.ps.gz" rel="nofollow">https:&#x2F;&#x2F;cs.stanford.edu&#x2F;~knuth&#x2F;fasc5a.ps.gz</a><p>• 7.2.2 Introduction to Backtracking: <a href="https:&#x2F;&#x2F;cs.stanford.edu&#x2F;~knuth&#x2F;fasc5b.ps.gz" rel="nofollow">https:&#x2F;&#x2F;cs.stanford.edu&#x2F;~knuth&#x2F;fasc5b.ps.gz</a><p>• 7.2.2.1 Dancing Links: <a href="https:&#x2F;&#x2F;cs.stanford.edu&#x2F;~knuth&#x2F;fasc5c.ps.gz" rel="nofollow">https:&#x2F;&#x2F;cs.stanford.edu&#x2F;~knuth&#x2F;fasc5c.ps.gz</a><p>• 7.2.2.2 Satisfiability: <a href="https:&#x2F;&#x2F;cs.stanford.edu&#x2F;~knuth&#x2F;fasc6a.ps.gz" rel="nofollow">https:&#x2F;&#x2F;cs.stanford.edu&#x2F;~knuth&#x2F;fasc6a.ps.gz</a><p>The first three were published together as &quot;Volume 4, Fascicle 5&quot; in 2019, and the last one—Satisfiability—was published as &quot;Volume 4, Fascicle 6&quot; in 2015. Of course the actual publication as Volume 4B has hundreds of fixes and additions beyond what was published earlier, and a lovely preface that you can read here: <a href="https:&#x2F;&#x2F;www.informit.com&#x2F;articles&#x2F;article.aspx?p=3143614" rel="nofollow">https:&#x2F;&#x2F;www.informit.com&#x2F;articles&#x2F;article.aspx?p=3143614</a><p>&gt; <i>You might think that a 700-page book has probably been padded with peripheral material. But I constantly had to &quot;cut, cut, cut&quot; while writing it, because […] new and potentially interesting-yet-unexplored topics kept popping up, more than enough to fill a lifetime; yet I knew that I must move on. […] I wrote nearly a thousand computer programs while preparing this material, because I find that I don&#x27;t understand things unless I try to program them.</i>
评论 #33087138 未加载
O__________Oover 2 years ago
In Google’s recent “Hacking Google” series [1] they appeared to credit Knuth via his bug reward program in his books [2] as having created the first software bug bounty offer.<p>Anyone aware of any software bug bounties that predate Knuth’s?<p>___________<p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33066313" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33066313</a><p>- specifically: <a href="https:&#x2F;&#x2F;youtube.com&#x2F;watch?v=IoXiXlCNoXg&amp;list=PL590L5WQmH8dsxxz7ooJAgmijwOz0lh2H&amp;index=6" rel="nofollow">https:&#x2F;&#x2F;youtube.com&#x2F;watch?v=IoXiXlCNoXg&amp;list=PL590L5WQmH8dsx...</a><p>[2] <a href="https:&#x2F;&#x2F;wikipedia.org&#x2F;wiki&#x2F;Knuth_reward_check" rel="nofollow">https:&#x2F;&#x2F;wikipedia.org&#x2F;wiki&#x2F;Knuth_reward_check</a>
评论 #33083405 未加载
评论 #33085939 未加载
riettaover 2 years ago
Very cool. I own the originals and the 4th but sadly I have to admit that even though I am a reasonably accomplished developer with a couple of CS degrees I have a hard time understanding this work and have not yet really read it. I feel like I am publicly admitting failure just posting this. I still have time to make sure these are not just bookshelf decorations though.
评论 #33084540 未加载
评论 #33084008 未加载
评论 #33084532 未加载
评论 #33085461 未加载
评论 #33084774 未加载
评论 #33085056 未加载
评论 #33084899 未加载
评论 #33083977 未加载
评论 #33085883 未加载
评论 #33086431 未加载
评论 #33087638 未加载
评论 #33084918 未加载
g9yuayonover 2 years ago
Nostalgia time! When I graduated years ago, Knuth&#x27;s books were still all the rage because the central themes in the CS departments in universities were fundamentals: algorithms, compiler theory, operating systems and what not. We referenced TAOCP for implementing the priority queue using fibonacci heap for our OS projects. We studied chapters on vol 2 for some of the numerical algorithms, and etc. We read Parsing Techniques cover to cover to understand how to write a parser. We still carefully studied AI: A Modern Approach and the dragon&#x2F;dinosaur&#x2F;tiger book. Every once in a while a discussion on Knuth&#x27;s work went to the first page of HN or Programming Reddit. Then, we got more and more mature libraries, and we rarely needed to understand 10 different algorithms that solve the same class of problems. Consequently, we got fewer discussion about Knuth&#x27;s work too. Of course, it&#x27;s super fun to read his meticulous discussion of combinatorial algorithms in Vol 4. It just that TAOCP does not appear as essential to as many people as a decode ago.
Baykoover 2 years ago
Can someone honestly tell me if they have actually read these books AND found them useful ON TGE JOB? What do you guys do for work? I tried reading part 1?? Like ten years ago and it was pretty much assembly language or something I believe. And gave up since it wasnt something that I needed in academia back then and there were far better ways to learn DSA
评论 #33082819 未加载
评论 #33082874 未加载
评论 #33082773 未加载
评论 #33082624 未加载
评论 #33083269 未加载
评论 #33083147 未加载
评论 #33083240 未加载
评论 #33082767 未加载
评论 #33086959 未加载
评论 #33082790 未加载
评论 #33082614 未加载
评论 #33082701 未加载
评论 #33083068 未加载
评论 #33086281 未加载
评论 #33088238 未加载
评论 #33083418 未加载
评论 #33083801 未加载
评论 #33083210 未加载
评论 #33082668 未加载
评论 #33082733 未加载
评论 #33084794 未加载
评论 #33084033 未加载
评论 #33083466 未加载
评论 #33085213 未加载
评论 #33082487 未加载
评论 #33086966 未加载
评论 #33082815 未加载
评论 #33085889 未加载
coreyp_1over 2 years ago
This is one of those book series that I really, <i>really</i> want to purchase as a beautiful, matching, leather-bound set. And, yes, I would read it for pleasure, and I would treasure it.
评论 #33083186 未加载
评论 #33082883 未加载
评论 #33083204 未加载
评论 #33083678 未加载
评论 #33085905 未加载
jjiceover 2 years ago
There&#x27;s something beautiful about his work on the series. He&#x27;s been working on it for years, built TeX (not sure if that was for this series or other books of his), and has such ambitious plans. He&#x27;s a serious legend in the field of computer science and we&#x27;re lucky to have someone like him to have provided our industry with so much incredible knowledge. I&#x27;m interested to see how the series progresses for the next 30 years.<p>He also seems like the kind of guy you&#x27;d want to have a cup of coffee or tea with. Always seemed like a fun and sweet guy in the interviews I&#x27;ve seen with him.
评论 #33086454 未加载
评论 #33086632 未加载
评论 #33086138 未加载
dragontamerover 2 years ago
I was hoping that Fascicle 7 would come out, as that would be on Constraint Programming, and I think that&#x27;s very similar to SAT-solvers (Fascicle 6) and the BDDs that he&#x27;s already covered.<p>Then again: SAT-solvers are a big enough subject matter on their own that backtracking search + SAT-solvers is more than enough to fill a volume of its own. So choosing these two subjects as volume 4B makes sense.<p>-----------<p>As a fan of constraint programming, I&#x27;d love to see Knuth&#x27;s take on the subject. I hope he doesn&#x27;t skip over Fasicle 7.
评论 #33083077 未加载
azalemethover 2 years ago
I once had the pleasure of listening to Knuth speak at my university&#x27;s computer science department. I joined the very large queue of other people, and expected the great man to totally revolutionise my understanding of – well, I didn&#x27;t know what, but <i>something</i>. Computer programming to TeX, I don&#x27;t mind. I was expecting enlightening solutions to famously difficult problems, a great study of algorithms, that kind of thing.<p>Well, what happened was that he spoke for nearly two hours on self-referential aptitude tests. The kind of &quot;20 questions&quot; game where the 20th question is &quot;The maximum score obtainable on this test is (a) 18 (b) 19 (c) 20 (d) indeterminate (e) achievable only by getting this question wrong&quot; and all of the others are inherently recursively linked. I had no idea these things existed, even less of an idea why anyone would want to study them, and came away later with both mind dripping down the side of my skull and a greater appreciation of SAT solvers and compiler design in functional programming languages. Highly recommended.<p>(And if anyone wants to do the quiz, it&#x27;s here: [1] <a href="https:&#x2F;&#x2F;www-cs-faculty.stanford.edu&#x2F;~knuth&#x2F;paradox.pdf" rel="nofollow">https:&#x2F;&#x2F;www-cs-faculty.stanford.edu&#x2F;~knuth&#x2F;paradox.pdf</a>)
aamarguliesover 2 years ago
Many years ago I needed to understand hashing for an important work project. I sat down and read Knuth&#x27;s chapter on hashing. It was very, very good and it helped to greatly accelerate my project work.<p>However.<p>What I also learned is how impossibly large a topic even just hashing is. A section of Knuth&#x27;s encyclopedia isn&#x27;t sufficient space to cover it thoroughly (for some definition of thoroughly) and further research showed how much progress had been made in the subject since Knuth published his work.<p>This isn&#x27;t a complaint about Knuth, again, I&#x27;m grateful for how much his writing accelerated my understanding. But further research underlined how impossible a task he&#x27;s undertaken.
ColinWrightover 2 years ago
A copy personally autographed by Knuth will be up for auction in the Gathering For Gardner fund raiser.<p>* The Art of Computer Programming, Volume 4B: Combinatorial Algorithms, Part 2<p>* <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;Art-Computer-Programming-Combinatorial-Information&#x2F;dp&#x2F;0201038064&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;Art-Computer-Programming-Combinatoria...</a>
magicloopover 2 years ago
Ironically once I studied a part of TAOCP dealing with parallel bit computation as I heard it would help with a Chip vendor I was applying to for a job. The end-of-day boss fight interview arrived with a puzzle I directly solved with my TAOCP knowledge. The result was they failed me on the interview. They said the job wouldn&#x27;t stretch me. As the years have passed I wonder if what I should have said was &quot;there&#x27;s no way I could solve this but I know about it from TAOCP already so this is what you do ...&quot;
评论 #33087015 未加载
WhitneyLandover 2 years ago
From the (apparently still hand-coded html) web page:<p>The fourth volume of The Art of Computer Programming deals with Combinatorial Algorithms, the area of computer science where good techniques have the most dramatic effects. I love it the most, because one good idea can often make a program run a million times faster. It&#x27;s a huge, fascinating subject, and I published Part 1 (Volume 4A, 883 pages, now in its twenty-first printing) in 2011.
boonsuanover 2 years ago
very amusingly, the entire 700+ page volume covers only Sections 7.2.2.1 and 7.2.2.2 of <i>The Art</i>.<p><i>The lyf so short, the craft so long to lerne</i>
评论 #33084935 未加载
AlbertCoryover 2 years ago
50 years ago, he claimed he was going to write 10 volumes of TAOCP. The actuarial tables are not encouraging here.<p>He doesn&#x27;t respond to emails, but his assistant does, and I sent a copy of my book about Xerox to his home address. No answer. But hey, it was worth a shot.
评论 #33083546 未加载
eddof13over 2 years ago
I don&#x27;t want Knuth to Robert Jordan&#x2F;George RR Martin himself so I&#x27;m waiting for vol 5 to complete before purchasing the set
评论 #33082836 未加载
评论 #33083174 未加载
uptownfunkover 2 years ago
Can someone write a volume 0 or volume -1 or some guide so noobs like me who want to enter this treasure chest can do so. I got lost just trying to start this so it might be over my head. I know Python, rusty on Java and cpp never touched assembly.
评论 #33083388 未加载
评论 #33084500 未加载
评论 #33084230 未加载
user3939382over 2 years ago
I can barely find time to read 3-4 pages of a novel before I pass out before bed. I look at volumes like this, Churchill&#x27;s The Second World War, Summa Theologica, and wonder if I could ever get through these things in my lifetime.
评论 #33082932 未加载
评论 #33084391 未加载
2pEXgD0fZ5cFover 2 years ago
With all the fascicles and updates to released volumes I&#x27;m a bit confused as to where one would start today with TAOCP.<p>If I wanted to give it an honest try, what do I buy?<p>Volume 1, 3rd edition + Volume 1, Fascicle 1?<p>If I get this right, fascicle 1 of Vol. 1 is used to replace&#x2F;update the old MIX architecture used in TAoCP with the new MMIX. If so, what about volumes 2-4?
jhugoover 2 years ago
On a whim a few years ago I attended Knuth80[0], a symposium celebrating Knuth&#x27;s 80th birthday in Piteå, northern Sweden. I traveled there by train from London and spent a few days listening to fascinating lectures and attending the inaugural performance of Fantasia Apocalyptica, performed by Jan Overduin on the wonderful new pipe organ in Piteå. I only had the opportunity to speak briefly with Knuth, but the whole thing (including the location in northern Sweden in winter!) was a wonderful experience, and should there be any further birthday symposiums I would heartily recommend them to anyone!<p>[0] <a href="https:&#x2F;&#x2F;cs.stanford.edu&#x2F;content&#x2F;contacting-donald-knuth&#x2F;news17.html" rel="nofollow">https:&#x2F;&#x2F;cs.stanford.edu&#x2F;content&#x2F;contacting-donald-knuth&#x2F;news...</a>
评论 #33098981 未加载
aasasdover 2 years ago
Since the pipe organ will be inevitably mentioned in the comments, I&#x27;m gonna plug the Youtube channel ‘Look Mum No Computer’, whose gear-crazy author in now apparently in the final stages of installing and patching up an organ in his seemingly interminable basement, after moving it from someone else&#x27;s house: <a href="https:&#x2F;&#x2F;youtube.com&#x2F;shorts&#x2F;XGL3rskcQD0" rel="nofollow">https:&#x2F;&#x2F;youtube.com&#x2F;shorts&#x2F;XGL3rskcQD0</a><p>Said organ was built by its late owner not just <i>in</i> the house, but pretty much into the walls of the house, and as a result the thing had to be ripped out of there rather grotesquely, and then rewired again at the new place: <a href="https:&#x2F;&#x2F;youtube.com&#x2F;watch?v=8PwwRR8deHk" rel="nofollow">https:&#x2F;&#x2F;youtube.com&#x2F;watch?v=8PwwRR8deHk</a>
PeterStuerover 2 years ago
Just picked up a near pristine vol.1 first edition in a uni library selloff. Wonder how they got a copy so unread after all these years.
评论 #33084408 未加载
评论 #33084414 未加载
the-printerover 2 years ago
I am relatively unfamiliar with these books, but the fact that Knuth publishes them in “fascicles” is hilariously intriguing. I have a superficial understanding of Knuth’s character as a programmer but I get the impression that the work is portrayed in a folksy, arcane sort of way.<p>Am I far off?
评论 #33082811 未加载
Decabytesover 2 years ago
As someone who perpetually abandons projects, I just admire that he has kept going with this for so long. It&#x27;s a huge and daunting commitment to make, and the fact that he is 84 and has completed another book is impressive, even if he never finishes.
varioover 2 years ago
A math noobie here: I want to learn the TAOCP but the pre-req is Concrete Mathematics which I also find hard--it seems almost cryptic. Any ideas for a book before Concrete Mathematics? Thanks in advance.
评论 #33091632 未加载
评论 #33090922 未加载
lawrenceyanover 2 years ago
“Is that a copy of Knuth?” She homes in on the top shelf. “Hang on — volume four? But he only finished the first three volumes in that series! Volume four’s been overdue for the past twenty years!”
评论 #33091727 未加载
varjagover 2 years ago
Seeing the photo of Knuth picking cotton in Uzbekistan, my ex-Soviet citizen&#x27;s first thought was &quot;now what they did pack him for&quot;.
Brystephorover 2 years ago
So who is the target audience for this type of work? I mean if I want to learn more about something such as combinatorial algorithms, this doesn&#x27;t seem like it&#x27;d be the right place to begin. I want to learn more about the things that I don&#x27;t know, but at the same time, learning absolutely everything about a single category is typically more depth than I require.
评论 #33093430 未加载
ec109685over 2 years ago
“”Find a linear certificate of unsatisfiability for the flower snark clauses”<p>I wonder how long that will take to start showing up on interview questions.
polyglotReaderover 2 years ago
<a href="https:&#x2F;&#x2F;javascript.plainenglish.io&#x2F;heres-donald-knuth-s-advice-to-new-programmers-it-should-not-be-ignored-6963c0aba7aa&amp;ved=2ahUKEwjPzbzslcn6AhV1TWwGHRWoBJYQjjh6BAgJEAE&amp;usg=AOvVaw2b-ViTT-9TFsOTmaj7S1Zq" rel="nofollow">https:&#x2F;&#x2F;javascript.plainenglish.io&#x2F;heres-donald-knuth-s-advi...</a>
评论 #33096713 未加载
polyglotReaderover 2 years ago
A must read for the knuth&#x27;s fans:<p><a href="https:&#x2F;&#x2F;javascript.plainenglish.io&#x2F;heres-donald-knuth-s-advice-to-new-programmers-it-should-not-be-ignored-6963c0aba7aa" rel="nofollow">https:&#x2F;&#x2F;javascript.plainenglish.io&#x2F;heres-donald-knuth-s-advi...</a>
mhh__over 2 years ago
Reading knuth was almost a don&#x27;t meet your heroes moment.<p>I don&#x27;t mind the mathematical rigour at all, I have benefited from it, but the way the books are structured is all over the shop.
f1shyover 2 years ago
I learned about the TAOCP in 2008 or even earlier. At that time, I already thought, I will not be able to have the first 4 Volumes complete.<p>Is there any hope that somebody will continue the work?
ForOldHackover 2 years ago
Knuth and Conway, each have 100s of articles, yet, Barry Kercheval has none. Guess which one taught me more about programming and the CCP?
评论 #33103129 未加载
base3over 2 years ago
Building a universe one brick at a time, on a foundation of indisputable facts, Knuth is the methodological successor of Euclid and Aquinas.
ameliusover 2 years ago
Still hoping for a next edition of his &quot;Searching and Sorting&quot; volume, to include modern search engines.
peter303over 2 years ago
Though emeritus, Don gives an annual lecture around December. Often on an algorithm.
Pet_Antover 2 years ago
Who will finish the book when he is gone? This is too important a work to not finish.
meantheoryover 2 years ago
Well, I know what I&#x27;m getting for Christmas.
dborehamover 2 years ago
Possibly the last physical book I will buy.
offByJuanover 2 years ago
What is the recommended MMIX emulator ?