According to several inside sources, Jason Segel and Jesse Eisenberg are now both attached to an upcoming film about David Foster Wallace, The Wrap reports.

Segel will play the late “Infinite Jest” writer, who committed suicide in 2008, and Eisenberg will play Rolling Stone reporter David Lipsky, who wrote the book on which the film is based.

James Ponsoldt (“The Spectacular Now”) will direct from a script by playwright Donald Margulies, who adapted Lipsky’s book “Although Of Course You End Up Becoming Yourself: A Road Trip With David Foster Wallace.” Coincidentally, Ponsoldt used to work at Rolling Stone while he was in college.

Lipsky’s book and the upcoming film has Eisenberg’s character tailing David Foster Wallace as the writer travels the country on a book tour. According to The Wrap: “Along the way, jealousy and competition bubbles up between the two writers as they discuss women, depression and the pros and cons of fame.”

Sounds like a comedy?

J-Connection: Jason Segel and Jesse Eisenberg are both Jewish.