I wasn't particularly bright. I think we underestimate the capabilities of children.
I see no reason a 14 year old shouldn't be able to program and say, do multivariate calculus. If anything, they are more intellectually capable than someone going through the pains of late adolescence.
Crystallized intelligence at that age might be low, but fluid intelligence is at or near its peak.