If using dried corn, rinse the corn kernels under cold water. Soak them in water overnight.
Drain and rinse the soaked corn. In a large pot, combine the soaked corn with 4 cups of fresh water.
Bring the mixture to a boil, then reduce the heat and simmer for 1-1.5 hours, or until the corn is tender.
Once the corn is cooked, drain it, reserving some of the cooking liquid.
Transfer the cooked corn to a blender or food processor. Add a small amount of the reserved cooking liquid and blend until smooth.
Pour the blended corn mixture back into the pot. Stir in the coconut milk, sugar, ground cinnamon, ground cloves, vanilla extract, and salt.
Cook over medium heat, stirring occasionally, until the mixture thickens slightly and the sugar is fully dissolved, about 10-15 minutes.
Remove from heat and let cool slightly before serving.
Enjoy your meal!