If using fresh corn, remove the kernels from the cob. If using frozen corn, thaw it before use.
In a medium saucepan, combine the corn kernels, sugar, and salt. Cook over medium heat until the corn starts to soften, about 5-7 minutes.
In a separate bowl, mix the cornstarch with a little bit of cold milk to create a slurry.
Gradually add the remaining milk to the saucepan with the corn mixture, stirring constantly.
Stir in the cornstarch slurry and continue to cook, stirring constantly, until the mixture thickens to a pudding-like consistency, about 10-15 minutes.
Remove from heat and stir in the vanilla extract.
Transfer the Mazamorra to serving dishes and let it cool to room temperature.
If desired, sprinkle with ground cinnamon and garnish with fresh fruit or nuts.
Enjoy your meal!