The M3's unified memory will help with performance, especially with VMs, but 8GB might still be a bottleneck if you're running multiple Docker containers and a VM simultaneously. If you can find an XPS 13 with 16GB RAM at a similar price, that would likely give you more headroom. Also, consider the specific processor in the XPS 13. Some models might have better single-core performance, which benefits VS Code. Battery life is generally better on the MacBook Air.