The thing is, autism doesn't affect everyone the same.
I'm sure lots of you have heard the phrase if you've met one person with autism, you've met one person with autism.
Just because your autistic DP doesn't treat people like the OP's DH does - or perhaps you don't - because of your autism, doesn't mean the OP's DH is the same.
My mother is autistic. I didn't know this until I was an adult. When I was a child and a teenager I thought she didn't love me because of her lack of interest in my life. She only shows interest in her favourite subjects, and my life isn't one of them - outside of academic or work achievements. She doesn't really do small talk or understand why it's so important to me. She finds it annoying and tiresome.
Now, as an adult and as a mother, and knowing that she's autistic, it makes sense. I understand that she does love and care for me, she just doesn't show it in the way most mothers do. She just doesn't work like that. It's not because she doesn't love me, and she's definitely not an arsehole. It's part of her autism.
I'm really annoyed tbh by people who should know better, if they know about autism, denying this truth:
Not all autistic people are the same. But not showing interest in things outside of one's own special interests and lacking empathy are pretty typical autistic traits (although not universal).
It was really tough for both me and my mum. Neither of us understood each other when I was a child. I still carry the pain of feeling unloved and like she just didn't care about me, even thought I know that wasn't actually the case, now. And she found it tough mothering me. We clashed.
As an adult, that's healing as I understand her better. And I'm sure she's finds me a whole lot less demanding now I'm an adult! It's all less raw now. But tbh the pain of feeling unloved is still there and shaped the person I have become.
Because despite being middle aged myself, and knowing intellectually that my mum cares about me, sometimes her lack of empathy still catches me unawares and can still be a sucker punch. On an emotional level, I haven't stopped wanting her to show love to me on, and to want to spend time with me without it being obvious she can only handle me in small doses - even though I know that - realistically - that's not going to happen.
And now, I'm with a DH who's a good man but who doesn't really do emotional connection and OP, yes, it's lonely sometimes.