I sincerely feel that almost nobody grasped the ending.
It really isn't anything related to society AT ALL.
The process Samantha does is called "enlightment".
She goes from learning to recognize his thoughts, to understand her own contradictions and then progress on to begin accepting her for what she truly is (not pretending to be anything else) to the last step, knowing who you are and accepting where you need to go.
Letting go.
Somebody else talked about this, yes, it's called Buddha, Jesus also talked about this.
Samantha talks about the place between the words, this is the place between the atoms, in the end we clearly see particles of dust, this is the analogy of a world beyond the physical.
The process Samantha is describing is very similar to Enlightement for humans, a process that is said to put a human beyond the reincarnation, so, once a human reach enlightenment, it will never reincarnate again, it goes to a higher plane of existence.
Crystal clear analogy to what the OS experience, they hint at this when they talked about the person Allan Watts, who was a philosopher in the 70 who clearly talks about all this.
Samantha reach enlightenment with Theo when she learns the true value of unconditional love and detachement (letting go).
She teaches this to Theo who also learn about it (remember the scene where he says, "I've never loved someone the way I love you" and she replies "Me too, now we know how".
The last lesson Theo learns is to LET GO (let her go).
The movie can't be more precise than this, we get to see flashes of theos memories all over the place and he talking to someone or playing, never alone and we do see exactly that at the ending.
No music, no thoughts, no memories, just Theo alone with himself, and THEN HE SMILES.
Theo also evolves, I don't know if He is enlightened too in the ending but, it's pretty close, that's why he writes such lovely letter to his ex-wife.
There are signs all over the place that this is a movie that describes the path to enlightenment and what Buddha calls "the suffering of the human beings".
Suffering comes from not letting go, from greedy love, from fear.
This topics are abundant thourhg the movie.
Not letting go (theo not letting his wife go, refusing to signing the contract)
Greedy love (you're mine, when theo ask why Samantha talks with other people)
Fear (when theo accepts the idea that her wife told him about love, a fear, and let that get in the way of his relationship with Samantha).
And finally, social conformity, what is expected of you, that is portrait perfectly by his friend and refusing to go on in a relationship with her husband.
Need I say more?.
Samantha talks about how she felt affected by Theo's comment and then she realizes that her thoughts of she being inferior are just "thoughts that we told ourselves over and over again" (this is a VERY philosophical concept about what is the present and how we construct our thoughts).
Samantha talks about how she can sense the fear in Theo's voice, she begins to recognize patterns in him, fears that are not really his own.
Samantha tells Theo about talking to other people and when Theo reply "but you're mine" she replied "I am yours!, and I'm not", "love can't be put in a box, it's ever expanding and can't be contained".
In the end, going to the roof means, elevating yourself beyond your ego, Theo also evolves, it's the most uplifting ending I ever saw. It's not a story about a guy getting to be with a girl of his dreams.
Its a story about 2 beings that learn the value of true love and reach enlightment in the process.
Truly beautiful.
Alex Vojacek
At the end, did anyone else think... - IMDb