4 ms·
One aspect of the question is that "permissions" are mostly regulated at the time of open and user-code should check for failures. This was a driving inspirati
by cb321 8mo ago
One aspect of the question is that "permissions" are mostly regulated at the time of open and user-code should check for failures. This was a driving inspiration for the tiny 27 lines of C virtual machine in https://github.com/c-blake/batch https://github.com/c-blake/batch that allows you to, e.g., synthesize a single call that mmaps a whole file https://github.com/c-blake/batch/blob/64a35b4b35efa8c52afb648628a1402a446b14a3/examples/total.c#L9-L44 https://github.com/c-blake/batch/blob/64a35b4b35efa8c52afb64... which seems like it would have also helped the article author.
- deleted 8mo ago[deleted]