News for hackers. Stuff that matters.
Re:Checked C: Making C Safer by Extension by ainar-g on Sunday September 09, 2018 @05:25AM (#17945098)
Re. syntax. I don't understand, why can't they just make _Ptr an attribute like _Atomic, and provide a header <stdchecked.h>. That is,

  #include <stdchecked.h>

  void read_next(int *b, int idx, checked int *out) {
      int tmp = *(b+idx);
      *out = tmp;
  }

There are no comments on this comment yet.