Swap is not enabled by default by any OS that I know of. And I doubt any OS requires you to have several gbs free in order to work smoothly.
My point being is, we are not stuck with 2 gbs of ram anymore and like games, apps will scale to use more resources for ease of development or better features.
I care as much about your ease of development as you care about the ease of assembly of your car. If someone told you that your next car was going to get 15 mpg and told you that gas stations are plentiful nowadays you would presumably by a different car.
But not Android, iOS or iPadOS. (And for good reason - these OS's run on devices that use bottom-of-the-barrel flash storage and can't sustain the wear-and-tear that comes with using swap.) That's not "literally every major OS"!
They don't "suspend applications". They can prompt an application to serialize an image of its "core" memory for storage on the flash media and to subsequently restore its state from the serialized memory dump, but very few applications are written to do the job properly.
As far as I am aware both windows and linux (several distros) use swap by default. On windows it will be a file on the C drive and on Linux it will be a swap partition.
Of course they are not going to swap unless they have to, but they will swap in default configuration.
My point being is, we are not stuck with 2 gbs of ram anymore and like games, apps will scale to use more resources for ease of development or better features.