It would have been nice if the article explained what an optimizer is in this case?

I will add "compiler" before "optimizer" and link to the toy optimizer series