I had a revelation this week: pastry cream is basically pudding, with perhaps an egg yolk or two more. Both start off with a milk/sugar base, thickened over the stove top using some combination of cornstarch/flour/egg yolks then flavored with vanilla, chocolate or any other flavor of choice. This recipe, in my opinion, can pass for both.