The art of computer programming by D. Knuth
Ale
Posts: 2,363
I want to ask anyone who has read the book(s) if they can give some information about how they found the books, when in their programming career they read it and so on. I am going in circles deciding if I am going to read them or not (and buying).
Edit: I have been programming for some time... some 20 years in several languages and I was asking myself what the books could add... I'm sure quite a bit but some experience may prove useful.
I discovered that they have it at the Institute for Mathematics... but today the library is closed! :-(... unbelievable...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
Edit: I have been programming for some time... some 20 years in several languages and I was asking myself what the books could add... I'm sure quite a bit but some experience may prove useful.
I discovered that they have it at the Institute for Mathematics... but today the library is closed! :-(... unbelievable...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
Comments
You may also find one of the Numerical Recipes books to be useful.
-Phil
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
I first bought a copy of the 1st edition of volume 2 (Seminumerical Algorithms) at a used book store when I was in grad school. Not so much for computer programming per se, but it was the time when the idea that a deterministic system could display chaotic dynamics was a forefront research topic in several areas of math and science. Knuth's treatment of the pseudo random number generation and tests for randomness is very deep.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
There's no one better than Knuth, but the 'Introduction to Algorithms' is also·a good one.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...
Raf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
UC Berkeley '12 EECS
CalSol: Berkeley Solar Car team
www.calsol.berkeley.edu
KJ6AWU
Thanks again to all.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
The 2nd volume is really interesting as you said because I really spent quite a while writing floating point implementations for several processors (prop included) and like calculators (designing them) as hobby (what got me restarted in ucontrollers a couple years back). In the propeller due to its limited resources the speed of quicksort may shadow its usefulness due to its recursivity (does this word really exist?)... and some other implementations may work better. When programming of the PC we have a lot of precoded libs but on the prop... or other uCs things are constrained and a good understanding can help find shorter/faster/better ways.
I'm happy with the books but I have to spend more time with them.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
Stop laughing already.
Bubble sort is extremely easy to write and debug and rewrite and re-rewrite for different styles of data, extremely RAM efficient, and the performance isn't too horrible for modest list sizes. I have never sicced the Bubble on a list with more than a few thousand items and only then when it was safe to put up an hourglass. If you need to sort stuff on a Prop, considering the Hub RAM tent-pole, there probably isn't a better algorithm.
And one of the many beautiful things about the Prop is that it keeps presenting you with things like this that look like awful limitations (oh noes! quicksort too bloaty!) but are really opportunities.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU