It's based on a short story called "Story of Your Life" by Ted Chiang. He's published only eighteen stories in his career (starting in 1990), nothing longer than a novella and mostly short stories. Despite that they've won him four Hugos, four Nebulas, and six Locus Awards. He's worth reading, is what I'm trying to say.