Modern aircraft have to deal with a habitable, pressurized compartment with low external pressure and flight loads as well. Sure, the pressures and loads are not what they would be for a spaceship, but it is similar.
Aircraft have a pressurized area that is basically a cylinder rounded at one end (the back end) and at the front end (the nose). Only the very tip of the nose and end of the tail are not pressurized (not counting the wings, tail, engines). The lower cargo area is pressurized, but the design is such that it isn't as important as the passenger part. As such, there are some fancy design features in place to make sure the floor doesn't collapse if the cargo area depressurizes.