look at the math textbooks thread for discussion of rudin. there seems to be no listing there for loomis sternberg although that surprises me. i must admit though i am always tempted to suggest you just look at them yourself. i.e. if you have access to them I strongly recommend you just look at them.
however, since you ask, as a little info, I suggest they have almost no similarity at all. rudin is a hard core analyst who delights in making analysis look elegant, explicit, and almost totally unmotivated. As I age more and more, I think of his books more and more as just masochistic exercises. If you are very bright they may just seem challenging, but if you are just hoping to learn, they do not help much.
Loomis is similar in one way, he values elegance above all else, but he is much more abstract than rudin, and seems actually trying to make his book the most elegant and most abstract book in existence. His book is beautiful, and in some ways elementary, in that he assumes very little knowledge, but the level of abstraction and sophistication is very high. Neither of these books is recommended to learn from, at least by me. They both amount to an exercise in showing off by the authors.
I kept loomis on my shelf as a historically interesting and impressive work, (and the sections by sternberg are more explanatory), but I finally just got rid of Rudin altogether, gave it away, as pretty much a worthless book, with nothing I want to read.
To repeat myself, these are books that the authors are proud of, but for non pedagogical reasons, i.e. they show he is smarter than we readers are, an unworthy goal in my opinion for an author.
A good explanation should reveal where the ideas came from, why they are interesting, why they are natural approaches to the topic, and how they may be seen as easy, almost predictable. Neither of these books has that aim nor achieves it. To me, these are authors who want to impress rather than educate the reader.
Still, they ARE experts, and thus one has something to learn from them, so if the books speak to you, go ahead and learn from them. But if you are an average reader, this result is not likely to occur. I.e. even though they have something to teach, they do not try very hard to teach it, and that job is left almost wholly to the student.
Again, Sternberg is much more down to Earth and helpful than Loomis, so the second half of their book, the half apparently written by Sternberg, may be much more accessible.
Actually Loomis is so skillful that his book also is accessible, it is just that after reading it one will not have any skill at all with using the concepts. One will get a clear idea of the theoretical side from his beautiful explanations, but one will have almost no grasp of the practical side. In the case of Rudin, one is unlikely even to understand the theory.
If you want to understand calculus of differential forms, read spivaks calculus on manifolds, not rudin. and if you want to understand measure and integration, read berberian or wheeden and zygmund, not rudin.
if you want to understand metric spaces, maybe read mackey's complex variables, or dieudonne's foundations of modern analysis (not easy either), rather than rudin, or maybe simmons. maybe one can benefit from working rudin's problems more than reading his explanations.
but again, read them yourself, and see whether they speak to you. don't be bound by a grumpy old man's views. You are young and intelligent. Read them and make up your own mind!