You're looking at chalk and cheese really aren't you. Both are fast and both are German but other than that it's a personality thing. S3 = Hot hatch, 335i = Sports coupe. I've driven both and know people who own both. Reliability is pretty much the same, both are very well built. Servicing, i'll stick my neck out and say again probably very similar.
Performance wise and as a 'drivers car' the 335i will probably reward you more so. More power and rear wheel drive. The 335i is quicker than the old M3 in a straight line. Depends if you want 4WD or not really.
The beamer will depreciate faster also.
So all i'd say is test drive them both and go with whichever suits you better.