If you look at Firefox memory consumption while browsing Twitter, you'll see the main culprit is, like always, DOM operations (repaint/reflow particularly). Solution: use Chrom{e|ium}.
Obvious difference: I expect not to get my HDD corrupted because I visited an arbitrary website, I understand it might be the case if I download AND run an arbitrary program.