Simmer the cranberries with 50 g sugar and a splash of water until they burst into a loose compote; cool.
Whisk the egg yolks with half the remaining sugar until pale and thick.
Whip the egg whites, gradually adding the rest of the sugar, to stiff peaks.
Whip the cream to soft peaks separately.
Fold the whipped cream into the yolk mixture, then fold in the egg whites.
Layer half the mixture into a lined loaf pan, swirl in the cranberry compote and pistachios, then top with the remaining mixture.
Freeze at least 6 hours or overnight and slice to serve.