In a heavy medium saucepan, cook and stir sugar, half-and-half or light cream, and butter until the butter is melted and the mixture is smooth. Remove the saucepan from heat; stir in vanilla. Serve the sauce warm. Makes 1-1/2 cups sauce.