i made the transition from embedded C to low level tensor wrangling in about a week, it takes some work but it's definitely doable, of course i'm not an expert but it's enough time to go pretty deep, i went from "yeah i've run ollama" to optimizing inference code to get research papers to run on consumer hardware
if the task is to get up to speed on C++ enough to teach undergrads and you're a reasonably competent academic programmer who gives at least half a shit about the task at hand a weekend is plenty