News for hackers. Stuff that matters.
Re:C#’s async/await compared to protothreads in C++ by jterrace on Monday November 12, 2012 @11:32AM (#4773462)
Aren't they both just modeled after the 2007 paper Events Can Make Sense that outlines Tame http://pdos.csail.mit.edu/papers/tame-usenix07.pdf
Re:C#’s async/await compared to protothreads in C++ by kerneis on Monday November 12, 2012 @11:39AM (#4773494)
Definitely not: protothreads (2006) predates Tame (2007). But all of them are somehow (great-)grandchildren of Duff's device: http://www.lysator.liu.se/c/duffs-device.html
Re:C#’s async/await compared to protothreads in C++ by hermanhermitage on Monday November 12, 2012 @04:11PM (#4774810)
Even more so, over the years I've seen in the wild and had cause to roll similar multiple entry points to functions, so standard practice predates both those dates by a decade or two. It is always good to see it written down to share the idea to the next generation.

CPC is something I've longed for in the past. I've always thought C could do with just a couple more features related to function call and frame management to make it the ideal portable low level language.