Writing helped me with this more than anything else. I started a historical fiction series a couple years ago — partly because the research fascinated me, partly because the act of building a world and living in it for hours at a time is the opposite of loneliness.
The irony is that writing is the most solitary activity imaginable, but it doesn't feel alone. I enjoy spending time with my characters, with ideas, with their problems that actually engage me. And then when I publish, people find it and reach out, and suddenly the solitary thing created connections I never expected.
The other thing that helped: building things. Open-source tools, side projects, whatever. Making something useful and putting it out there is its own form of reaching out. And hearing others positive feedback is a great feeling.
The irony is that writing is the most solitary activity imaginable, but it doesn't feel alone. I enjoy spending time with my characters, with ideas, with their problems that actually engage me. And then when I publish, people find it and reach out, and suddenly the solitary thing created connections I never expected.
The other thing that helped: building things. Open-source tools, side projects, whatever. Making something useful and putting it out there is its own form of reaching out. And hearing others positive feedback is a great feeling.