News for hackers. Stuff that matters.
Re:Zig in 30 Minutes by AnIdiotOnTheNet on Monday January 04, 2021 @07:36AM (#25630520)
The pattern I use for that is:

  get size
  allocate slice
  for(slice) |*elem| elem.* = read()

There are no comments on this comment yet.