When my son started school he could already read and write proficiently so the early years teachers gave him worksheets from the older year groups. He could spell the whole primary spellings curriculum at age 4 so they said they couldn't do anything there. By year 3 in Primary he was doing his own reading a lot as the primary could no longer help as they didn't have the resources.
I'm lucky to be in Ireland where we have CTYI (centre for talented youth) so he took courses for gifted children on the side. It is very expensive though and in some ways, not even that stretching for him.
He has done other things, he taught himself to code and is fluent in many coding languages, he has done university level courses in subjects he likes, but he has been bored in school. When bored, gifted children can get lazy and just not care and this happened in school with the subjects he didn't enjoy. Therefore his grades in certain subjects dropped a little and it was harder to keep him on track. He doesn't revise but after coming top of his year in GCSEs it became clear that if he is interested in a subject he will do well anyway. But I suppose, what I'm saying, is that we've found that it is not in the remit of the school to stretch one child with years ahead ability, that is on the parent and student and it can be expensive. It is also necessary for the child so they don't lose the will to pay attention in class.
Also, in school he is doing CS and has already finished his programming project for A Level to a level his teacher predicts A* (He started the course in September) and has been utilised as support for his peers instead of learning himself which he told me is quite frustrating. He's also been recruited to tutor younger students in maths and further maths for GCSE. He is teaching himself FM A level as his school doesn't offer it.
We are looking towards university as a place where he can learn at his own pace.