Cape Town is exceptional value. Lived there for 12 years. I would recommend you try and work remotely from there earning a foreign currency like USD, GBP or EUR. You will then find it very cheap.
Pros: Excellent quality of life (for your demographic). Beautiful outdoors, quick to get around. Cheap compared to SF, NYC, LDN, AMS, BLN. Great food scene. Not oversubscribed like SF, LDN etc. You can usually just walk into a restaurant. Good, fun people.
Cons: Rand (ZAR) is a weak and volatile currency. Geographically out of the way. Tech scene/talent is a bit small IMO (contrary to the local opinion) but AWS EC2 also has a development office out there so that might be of interest.
Overall, Cape Town is a great place to live. Beautiful, cheap and you will find you have plenty of time to pursue intellectual interests. I really miss the lifestyle.