T+2 is an artifact from the days where there was paper trading and everything was done via open outcry. There's no technical reason it can't be done much faster. ATM transactions are atomic within 60 seconds. Credit cards are faster than that writing to their ledgers. And yes, while behind the scenes those transactions don't settle until next day via bank or credit card processor, there's no technical reason that they can't be done in near real-time.
In the US the reason we still have T+2 is that it benefits the financial institutions to do so at the expense of the individual. One of the many reasons I have zero empathy for the industry.