The movie mogul Samuel Goldwyn, the “G” of MGM, was quoted as saying, “I don’t think anybody should write his autobiography until after he’s dead.”

That hasn’t stopped a great many people from writing their memoirs, or stopped Hollywood from adapting memoirs into movies. The latest example — “The Glass Castle,” based on Jeannette Walls’ chronicle of growing up with unstable parents — lands in movie theaters Friday, with a cast led by Brie Larson, Woody Harrelson and Naomi Watts.

Here (in chronological order) are seven movies, based on memoirs, that tell captivating stories in the first person.

1. ”Mommie Dearest” (1981)

Christina Crawford’s harrowing account of life with her adoptive mother, the screen legend Joan Crawford, told of child abuse, neglect and manipulation. The movie version inadvertently became a camp classic, thanks to Faye Dunaway’s portrayal of Joan — a performance so over-the-top, it briefly inspired “Rocky Horror”-style audience-participation screenings.

2. “The Whole Wide World” (1996)

Novalyne Price Ellis had a successful but mostly average life as a Texas schoolteacher, except for a brief period in her 20s — when she befriended (and briefly romanced) writer Robert E. Howard, the tempestuous creator of “Conan the Barbarian.” This movie, the debut of director Dan Ireland, was a lovely period piece brimming with emotion and featuring great early performances by Renée Zellweger and Vincent D’Onofrio.

3. “Catch Me If You Can” (2002)

Frank Abagnale spent a fair part of his life forging checks, posing as a doctor and a Pan Am pilot, and outrunning the FBI. His memoir had all the makings of a fun chase thriller, which is exactly what director Steven Spielberg delivered — with Leonardo DiCaprio as the charming Abagnale and Tom Hanks as the dogged FBI agent on his tail.

4. “The Diving Bell and the Butterfly” (2007)

The existence of Jean-Dominique Bauby’s memoir is itself a miracle: He wrote it after a stroke that left his body unable to function except for his left eye, and he dictated the book by blinking one letter at a time. Many filmmakers would balk at a main character who can’t move — but artist-turned-fimmaker Julian Schnabel and actor Mathieu Amalric turned Bauby’s story into a moving memory play of a free spirit inhabiting an immobile body.

5. “Persepolis” (2007)

Marjane Satrapi wrote a vibrant memoir in comic-book form, about growing up in Iran before and during the Islamic Revolution. Fittingly, Satrapi and comic artist Vincent Paronnaud turned to animation to tell her story — of a girl losing her freedom, and the woman who would find it again in exile.

6. “An Education” (2009)

Journalist Lynn Barber’s memoir told of her teen years in 1960s London and her affair with a man twice her age. The movie stars Carey Mulligan as Barber’s avatar, Jenny Mellor, and Peter Sarsgaard as the playboy who opens her eyes to a world of nightclubs and high living. Nick Hornby’s lucid screenplay and Lone Scherfig’s intense direction capture England at the cusp of a cultural explosion.

7. “127 Hours” (2010)

Aron Ralston’s account of the five worst days of his life — when a boulder pinned his right arm against the wall of Utah’s Blue John Canyon in 2003 and he had to amputate or die — becomes an energetic story (filmed in Utah) thanks to director Danny Boyle’s compelling visuals. James Franco gives the best performance of his career as Ralston, whose reckless adventurism got him in this mess and whose desire to survive and start over provided him a second chance at life.