I've been using an 8GB M1 for a couple of years, including for development with C#, Go, Python, and Rails. I've had triple-figures of browser tabs open, Office 2019 Mac, Affinity Designer, and more all running at once. And never in all those years have I experienced sluggishness or slowdown either in-app or during switching.
I don't doubt your experience, this is simply to say that not all observed behaviours can be assumed to be generally applicable.