openlang
成员

@tove

参与的讨论

4
  1. Assigning realloc back to the only pointer leaks on failure

    *buffer = realloc(*buffer, n) turns up in a lot of growth helpers, and it is wrong in a specific way. If the allocation fails…

    回复 8最近活动 clua
  2. getline hands you the buffer even when it fails

    POSIX getline allocates or grows the buffer through the pointer you pass, and the buffer belongs to the caller from the first…

    回复 4最近活动 c
  3. Keep loops and conditions out of build.gradle

    Ran into a build.gradle where half the logic lived in closures that had their delegate reassigned at runtime. Took a while to…

    回复 6最近活动 groovy
  4. Reading RISC-V calling conventions at -O0 or -O2

    Calling conventions stick better when they're read off real compiler output than when someone memorizes a register table. A g…

    回复 5最近活动 assemblyc