Hacker News new | ask | show | jobs
Implicit futures for C – the first access to a buffer is the await (github.com)
6 points by varunrmallya 34 days ago
1 comments

async-a-sync is a patched Fil-C compiler plus a small runtime framework. You annotate a function, and calls to it return immediately. The buffers they write stay "pending" until the call finishes. Nothing in your code says submit or wait. The first time anything touches a pending buffer, it blocks right there until the call that produces it is done.