CS 2420-20 Homework 22

Due: Thursday, April 12th, 2012 9:10am

Start with mandelbrot.rkt, which takes two command-line argument and writes a file mb.pbm:

  racket mandelbrot.rkt 1024 1024

The two command-line arguments are the width and height, respectively, of a Mandelbrot image written to mb.pbm (in the PBM format).

Change mandelbrot.rkt so that it runs significantly faster on a machine with multiple processors by using Racket’s future and touch.


Last update: Monday, April 16th, 2012
mflatt@cs.utah.edu