You could use a virtual machine, either way: Linux host (=preferred) or Windows host. Then you can use both systems simultaneously.
Then the amount of RAM is important, but nothing overwhelming is needed. I use virtualbox virtual machines on a laptop with 24 GB of RAM, and for me that is actually more than I need (probably 16GB would be OK too). I don’t have to use swap at all.
But virtual machine slows down the system inside it somewhat, and graphics might not be top notch, so using it depends on your needs.
Dual boot is reasonable if good performance is more important than the flexibility to use both systems at the same time.