Contribute  :  Web Resources  :  Past Polls  :  Calendar  :  Advanced Search  :  Site Statistics  
    Kneuro.net Liberal/Libertarian/Development/Evolution    
 Welcome to Kneuro.net
 Tuesday, September 07 2010 @ 06:09 PM EDT

SICP Streams

   

SoftwareWhile I'm on Spolsky, who thinks that CS programs ought to teach students things that will actually open their minds and broaden their ideas of computation, I'm reminded of one mind-broadening experience I had recently: Chapter 3 of SICP: http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-24.html#%_sec_3.5
This chapter discusses "streams", which are essentially just lazy lists. The notion that any recursive algorithm can be represented as a stream defined in terms of itself took a little getting used to. The section on sequence accelerators blew my mind.

I think SICP is a great book, in part because of stuff like streams, but also because of its whole organization: it takes the reader from a very high-level model of computation (the Scheme language), and ends up at the low level of simulation of a virtual machine (the explicit-control evaluator). This is quite different from a lot of CS texts which begin by talking about machine organization, and end up discussing some half-assed high-level language like Pascal.




What's Related

Story Options

SICP Streams | 0 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
 Copyright © 2010 Kneuro.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.08 seconds