I read the book first, but about two years ago. I remembered most of the series of events, including the ending. If you haven't read the book, make sure to do it. There are enough differences that it's worth doing. The movie is good on its own, with a few small differences that you couldn't get across in a non-visual media.