My local library has both quiet areas and social areas, including meeting spaces. There are weekly social events for knitting, second-language practice, seniors, and more.
High school kids go there to work on class projects together, just like I did at the library when I was a teenager.