I discount DC a little because a lot of that is government and defense related (not a bad thing, just not my cup of tea).
Boston has a lot of diversity in tech, lots of health/pharma like Moderna, web companies like TripAdvisor and Wayfair, robotics like Boston Dynamics, tons of startups doing ai/ml, and it seems like every big company has a substantial presence here (Google, Meta, Amazon, Microsoft, Salesforce…)