Well, to get the discussion started…
You need a certain amount of structural strength to the carbody. Within limits, if the desired structural strength is achieved, the lighter in weight the better. (Limits: you wouldn't want the car to be so light it would float off the tracks when empty. For practical purposes we can ignore that danger!)
Aluminum and stainless steel both allow lighter weight for a given strength. I'm not sure which is better in this regard: aluminum is lighter than (a comparable volume of) stainless steel, but stainless steel is stronger than (comparably dimensioned) aluminum components. My ***impression*** (from random reading, not systematic study) is that, at least for passenger cars, the lightest tend to be alluvium, but that well-designed stainless steel cars come very close to them in weight.
On the other hand… Aluminum and stainless steel are both much more expensive than carbon steel.
Now things get complicated by operational factors. In loose-car freight railroading, freight cars are in actual use for a shockinlysmall proportion of the time. So economically you don't want to spend big money for small improvements in efficiency. But in unit-train service the cars (typically hoppers…) get enough better utilization that at least some hopper-car purchasers have felt it is worth while spending a bit more to get lighter (empty) weight aluminum hopper cars, which (since the maximum weight when loaded is governed by things like rail and bridge strength, and so are the same for hopper cars of different construction) means each car can carry a bit more payload.
Now: I'm sure there are people visiting this forum who know a LOT more than I do (and who can give some actual NUMBERS): please educate ME (and give a better answer to Mtuandrew)!