I'm one!
Well, I'm not a tech or anime geek, unlike my nerdy friends, but I was the kid whose face was always buried in a book, and the chemistry-obsessed student not too long ago. It also helped, that the English teacher used to praise my essays because it was then I felt I wasn't so lifeless after all.
My friends tended to be school librarians - nerdy people, or dorks, or geeks, or basically those "normal" people who are ignored by the cool ones. A common feature among better friends is they are intellectual and understanding. Not the top students, but interesting to talk to about politics, etc. In fact, the nerds saved me from social oblivion by accepting me as a friend. And my confidence steadily grew from there and life felt worth living.
I never fitted in thoroughly though, not being an anime fan. But we still had other nerdy homeworky things to talk about.
I think that if you're Aspie it helps to be a nerd whereas it doesn't really for NT's unless the said NT is so brilliant. In the end you're respected for having good grades. NT's will still respect a nonarticulate top scorer than a nonarticulate non top scorer. My college mate (but not friend) is more Aspie than me and is very isolated. She won't talk to anyone unless spoken to - i've tried to bring her out of her shell. She gets bad marks for sciences and math so the rest don't respect her. Even though she reads philosophy and cultural things no one else bothers about.
But since I entered sixth form college things have improved somewhat because the better uni you enter, the more you're respected. So nerdiness in this case is really useful. (We apply to UK universities which don't need extra curriculars so much.)