@BarryBo points out that Buffer.Utils.memset is not tail-recursive (and there's a comment to that effect in the source tree). https://github.com/FStarLang/kremlin/blob/master/kremlib/C.Loops.fst has combinators for writing functions that are actual for-loops in the extracted C code.
@BarryBo points out that Buffer.Utils.memset is not tail-recursive (and there's a comment to that effect in the source tree). https://github.com/FStarLang/kremlin/blob/master/kremlib/C.Loops.fst has combinators for writing functions that are actual for-loops in the extracted C code.
CC @ad-l @s-zanella