I was shopping for a laptop a month ago and considering the M2 MacBook. The CPU performance is definitely impressive, but I ended up getting a Razer Blade 14 because it absolutely decimates the MacBook in GPU performance and gaming related stuff, unless you go top of the line MacBook Pro which would have been about $1200 more and couldn't run most games. If you don't need a great GPU I would definitely go with a MacBook, but if you need one you're just not going to beat an RTX 3080 and an AMD Ryzen.
Razer Blades look good on paper but be prepared for bloated batteries. Between the 5 Blades my friend and I own, all 5 had bloated batteries within a year, some catastrophically. I'm personally on battery number 4, in just 3 years of use.
My solution is a bit different, I have a Ryzen desktop with an NVIDIA GPU when I need to game, as I don’t game on the go, and honestly, gaming on the Mac doesn’t exist.
But I absolutely work on the go, and need the battery life I get from the Mac so I’m not constantly looking for a place to charge.
I use a similar setup, I need CUDA for work. But machine learning on a fast CUDA-capable GPU on a laptop is brutal battery and heat-wise. So, I just SSH into a Ryzen tower with a fast GPU for machine learning. (The MacBook with its AMX matrix multiplication units and Metal Performance Shaders is fast enough for short test runs.)
You can also put a much faster CPU and GPU in a workstation than a laptop, if you have enough headroom for 105W TDP CPU and 350W TDP GPU.
For me it's actually about game development, so I'm running things like Unity and baking light maps and things like that, which I absolutely do on the go in coffee shops or whatnot. The battery life is actually pretty decent. Nowhere close to a macbook but I don't have to be plugged in all the time either.
I'm not sure I'd call it niche. No I'm not playing counterstrike in a coffee shop, but it can be fun to bring it over to a friends house. I haven't bought a desktop since 2014, I like having the freedom to work from anywhere and not have to move files between computers all the time. When I have it at home I have it hooked into 3 monitors and a full size keyboard, and it runs pretty quiet, so it's not really any different from having a desktop in that regard.
YMMV though. Most of what I do with a computer even besides games needs a very powerful GPU. If you're working with docker and webdev I'd just get a macbook. My only point is that apple doesn't have a pure monopoly on performance, as impressive as their new silicon is there's some things it's still not so good at.
Just depends what you care about. All the games I care about, from Baldur’s Gate to Crusader Kings to emulated games, are best enjoyed in my bed or couch on my laptop.
My desktop feels more niche for my preferences since only a few games I care about require sitting at a desk in “FPS position”. I had more fun building the thing than using it.
I was shopping for a laptop a month ago and considering the M2 MacBook. The CPU performance is definitely impressive, but I ended up getting a Razer Blade 14 because it absolutely decimates the MacBook in GPU performance and gaming related stuff, unless you go top of the line MacBook Pro which would have been about $1200 more and couldn't run most games. If you don't need a great GPU I would definitely go with a MacBook, but if you need one you're just not going to beat an RTX 3080 and an AMD Ryzen.