You’d be surprised, man. Of course you’d have to give up on some things, but it’s trivial stuff compared to what you gain in return. I personally was always very turned off by the way Apple likes to lock down all their stuff to their own ecosystem. I like to own my data and have the freedom to tweak my environments and what runs on my hardware. I also realize this is a plus for many people, just giving their soul away to Apple.
I’ve used Ubuntu for a long while, it’s just a first-class environment for development. So, good luck!