Yang was born on 12 November 1964 to parents both educated as surgeons.
While his parents wanted him to pursue a career in medicine, and he had a budding interest in literature, Yang decided to study computer science on the advice of a family friend who was a university professor.