Andy Weir, the son of a particle physicist, has a background in computer science. He began writing the book in 2009, researching related material so that it would be as realistic as possible and based on existing technology. Weir studied orbital mechanics, astronomy, and the history of manned spaceflight. Having been rebuffed by literary agents when trying to get prior books published, Weir decided to put the book online in serial format one chapter at a time for free at his website. At the request of fans, he made an Amazon Kindle version available for 99 cents. The Kindle edition rose to the top of Amazon's list of best-selling science-fiction titles, where it sold 35,000 copies in three months, more than had been previously downloaded free. This garnered the attention of publishers: Podium Publishing, an audiobook publisher, signed for the audiobook rights in January 2013. Weir sold the print rights to Crown in March 2013 for over US$100,000. The book debuted on the New York Times Best Seller list on March 2, 2014 in the hardcover fiction category at twelfth position and went on to become a bestseller.
20th Century Fox optioned the novel in March 2013, and producer Simon Kinberg was attached to develop the novel into a film. In the following May, Goddard entered negotiations with the studio to write and direct the film. Goddard wrote a screenplay for the film, and Matt Damon expressed interest in starring under Goddard's direction. Goddard then pursued an opportunity to direct Sinister Six, a comic book film about a team of super villains. Kinberg then brought the book to Ridley Scott's attention. In May 2014, Scott entered negotiations with the studio to direct the film with Damon cast as the film's stranded astronaut. Following Scott's commitment, the project picked up the pace and was quickly approved. Filming began in November 2014 and lasted approximately 70 days. The film first shot at Korda Studios (in Hungarian: Korda Filmstúdió) 26 km west of Budapest, Hungary, one of the largest in the world. About 20 sets were constructed, which isn't many in comparison to other films, but they were much more "technical". To put that in perspective to other Ridley Scott films, he used 70 on Exodus: Gods and Kings (2014) and over 100 on American Gangster (2007). The practical backdrop for Mars was filmed in Wadi Rum, which is a UNESCO world heritage site located in Jordan. Wadi Rum had been used as a location for other films set on Mars, including Mission to Mars (2000), Red Planet (2000), and The Last Days on Mars (2013). Weir, who developed a relationship with NASA after publishing the novel, involved the space program in working with Scott to accurately depict the film's science and technology. NASA was consulted in order to get aspects of space and space travel, specifically in relation to Mars, with the most accuracy. NASA is federally funded, yet charges no one, including private for-profit organizations, any fees for use of and access to its archives and consultancy. The mission to Mars in the film emulates actual missions that NASA is planning for the future.
The film stars Matt Damon, Jessica Chastain, Kristen Wiig, Jeff Daniels, Michael Peña, Kate Mara, Sean Bean, Sebastian Stan, Aksel Hennie, and Chiwetel Ejiofor. The performances in the film were out-of-this-world and astounding. The film features an ensemble that each gave their own unique flavours into the mix. Damon's unflappable performance, in particular, is perhaps the film's biggest asset. Despite the brilliant cast, unfortunately though I felt that the secondary characters were underdeveloped and underused, and missed out during the critical moments in the film.
Simon says The Martian receives: