No but what are these partitions used for? And how does it defer from what HFS used to be?APFS can share space between partitions. So there is no downside in making a stand alone VM partition.
Didn’t Ubuntu Just ditch the swap ditch the swap partition instead in favor of swap files?VM is for the swap. If your apps requires more RAM than the one you have it will use the space in the VM partition. HFS+ had one or more swap file instead.
Well, I don't think Ubuntu's system would work the way APFS does with volume space sharing. I think an Ubuntu swap partition would remove that space from availability irreversibly.Didn’t Ubuntu Just ditch the swap ditch the swap partition instead in favor of swap files?
Also got any idea what the preboot partition does?
… HFS+ had one or more swap file instead.
… what the preboot partition does?
That doesn't answer what the reboot partition does. Rather it shows one thing you can do to it.I answered a similar question in Apple Developer Forums. In a Terminal window:
diskutil apfs updatePreboot
The same with APFS. Swap files.