As a dev of multiple languages, distro maintainer, general experimenter-with-things and basic ML user - Linux with 8GB works perfectly fine here. Sounds like something else is happening with your system.
Linux doesn't deal well with OOM situations but those don't really apply here. 10 tabs in FF brings me to 3.5 gigs total system use, which is plenty of buffer to avoid swapping and OOM freezes.