Evan Martin (evan) wrote in evan_tech,
Evan Martin
evan
evan_tech

reading

Reading project: Ken Shan's continuations reading group. The 5th background paper uses C analogies, which is weird. Apparently this is a GNU C extension:
void p(void *x) {
    goto *x;  /* weird: dereferencing void* */
}
main() {
    p(&&L1);  /* weird: double-& operator. */
L1: exit();
}
It makes sense, though.
Subscribe
  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 7 comments