Live data from Hacker News

Ask HN: After SICP, what next?

news.ycombinator.com

31–37 of 37 posts

Re: Ask HN: After SICP, what next?

#31

Earlier quoted context omitted.

Sorry if this seems dense but I can't reconcile what your saying and I've not read the book. You say: > It's actually a common misconception that Knuth uses MIX/MMIX to implement his algorithms. So you state very clearly that he doesn't use MIX to code his algorithms. But then you say: > and the MMIX implementation is usually only given when there are relevant implementation details to be discussed So you say that he…

Yes, that is how it is. For example the first algorithm in the book (found via google): Algorithm E ( Euclid's algorithm). Given two positive integers m and n, find their greatest common divisor, that is, the largest positive integer that evenly divides both m and n. E1 [Find remainder.] Divide m by n and let r be the remainder. (We will have 0 ≤ r E2 [Is it zero?] If r=0, the algorithm terminates: n is the answer. E…

Thanks for the clarification:)

Re: Ask HN: After SICP, what next?

#34
post #32
post #8

This is the single best text I've seen on algorithms in the real-world: http://www.amazon.com/Algorithm-Design-Manual-Steve-Skiena/d... Can't recommend it enough.

Here's the second edition from 2008: http://www.amazon.com/Algorithm-Design-Manual-Steven-Skiena/...

Thanks! I did not know there was the 2nd edition!

Re: Ask HN: After SICP, what next?

#35
The best book to follow up SICP is Essentials of Programming Languages, by Friedman, Wand, and Haynes. It uses Scheme to show how the fundamentals of programming languages are built, and both in its form and its content, it seems a direct continuation from SICP. After you've done with it, you'll have a much better understanding of Scheme, functional programming, programming languages, and programming in general.

Re: Ask HN: After SICP, what next?

#36

Earlier quoted context omitted.

Sorry if this seems dense but I can't reconcile what your saying and I've not read the book. You say: > It's actually a common misconception that Knuth uses MIX/MMIX to implement his algorithms. So you state very clearly that he doesn't use MIX to code his algorithms. But then you say: > and the MMIX implementation is usually only given when there are relevant implementation details to be discussed So you say that he…

Yes, that is how it is. For example the first algorithm in the book (found via google): Algorithm E ( Euclid's algorithm). Given two positive integers m and n, find their greatest common divisor, that is, the largest positive integer that evenly divides both m and n. E1 [Find remainder.] Divide m by n and let r be the remainder. (We will have 0 ≤ r E2 [Is it zero?] If r=0, the algorithm terminates: n is the answer. E…

If you're going to do Euclid's algorithm, cut to the chase and read Euclid. Nothing will ever teach you more about logic.
Post reply on HN