I agree, I see a lot of ETH devs on Twitter talking about huge amounts of tech debt. The way I understand it the current Bitcoin Core implementation in C++ has been very optimized, though I found this SO article about different implementations: