Correct me if I'm wrong, but it dates back to C? And # is used as includes / other first compiler steps? And the hashtag on twitter is a reference to this.
when i started using twitter back in 2008, that's how it felt to me -- that # tags were basically irc rooms and twitter itself was just a big async irc
I doubt that. The meaning of # in C does my resemble hashtags at all.
I would guess it was inspired by IRC, the first popular chat system, dating back to the 70s or 80s, which uses channels named with the hashmark and which are often named after the conversation topic
http://factoryjoe.com/blog/2007/08/25/groups-for-twitter-or-...