I have gone down this rabbithole. Trust me, software is not the bottleneck.
Long story short: make as much money as you can in the private sector and donate to "open-source" research, i.e. research that is released to the public domain instead of hoarded by private orgs.