HIV resists attempts to produce a vaccine because of its high mutation rate. There are too many strains out there for one vaccine to ever be effective and no guarantee that new strains won't pop up. Had HIV been caught and contained early on, a vaccine cocktail could probably have been developed that would be effective, but now you'd still have to worry about any HIV positive person having a strain you are not vaccinated against and thus would have to take the same protective measures.
Covid-19 has been mutating slowly thus far, so there is good reason to believe that if a vaccine is developed, it would be effective. It is possible and even probable that covid will remain endemic in some regions, particularly those with poor healthcare systems, and thus new strains will have time to emerge. We thus may need new vaccines for seasonal strains, similar to the flu, but still it will be much more manageable.
At the end of the day though, a vaccine may not be necessary for life to go back to something close to normal. The US already has about 1.3 million community spread pneumonia cases per year on average which has a substantially higher mortality rate and we get along just fine. The issue with Covid was that we were unprepared for it - hospitals did not have adequate amounts of supplies and equipment to handle the sudden spike in admitted patients. This leads to worse outcomes for those who catch the disease and extreme measures to limit the rate the disease spreads. If all the hospitals already had tons of extra ventilators lying around and if everyone already had face masks at home and if businesses already had adequate plans for sick leave in place then this outbreak would have been a mild inconvenience. While we obviously can't go back in time, we will be prepared moving forward.
One that looks like it may work is from an Israeli group working on a milder corona virus that seems to use the same spiked protiens as the one killing everyone and there is hope that once infected with milder one, the bodies immune system will be able to fight off the deadlier one too.
I makes me wonder, scary as it is, that is if the milder virus can make us immune would it be worth the risk releasing a live version into the population? This would greatly reduce the time required to produce and distribute a life saving vaccine and effectively make it free for everyone.
https://www.abc.net.au/news/health/2020-04-17/coronavirus-va...
For example this [1] Israeli company
> MIGAL initiated its Corona-vaccine development program four years ago with $4 million funding by the Israeli Ministry of Agriculture.
Although it was originally for chickens...
It seems a negotiation between drug dealers in dirt dark alley.