I dunno, when I had gestational diabetes, a little bit of ice cream was mostly fine - the protein and fat content kept my blood sugar from spiking. In contrast, white rice was much much worse. Maybe it's just all about the glycemic index, paired with the fact that ice cream is so satisfying so it might keep you from other carb-heavy snacks.