2012-11-12

c++ and c: protothreads

provides linear code execution for event-driven systems.

"lightweight stackless threads"

reminds me of go’s goroutines when go is running under a single cpu core.

see writeup and analysis at following:

actual implementation for c:

implementation for c++:


co-routines in c


continuation passing c


2 books at a time

i think i’m going to try to be reading 1 book about my pragmatic languages list and 1 from my research languages list. at the moment the two books are:

  • practical: classic shell scripting (shell)
  • research: simply scheme (scheme)
Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s