Add sugar and salt to the saucepan, and heat over medium heat until it reaches a gentle simmer. Reduce heat to low and simmer for 15 minutes, stirring frequently,
Remove from heat, stir in vanilla extract, and let the mixture cool to room temperature. Then, refrigerate for at least 3 hours to allow the pudding to set and thicken further.